Skip to content

Commit 926f6d8

Browse files
committed
Fix Windows build with --enable-werror on Ubuntu Focal (gcc 9.3)
1 parent 127ad70 commit 926f6d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/qt/winshutdownmonitor.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class WinShutdownMonitor : public QAbstractNativeEventFilter
1717
{
1818
public:
1919
/** Implements QAbstractNativeEventFilter interface for processing Windows messages */
20-
bool nativeEventFilter(const QByteArray &eventType, void *pMessage, long *pnResult);
20+
bool nativeEventFilter(const QByteArray &eventType, void *pMessage, long *pnResult) override;
2121

2222
/** Register the reason for blocking shutdown on Windows to allow clean client exit */
2323
static void registerShutdownBlockReason(const QString& strReason, const HWND& mainWinId);

0 commit comments

Comments
 (0)