Fix Windows build with --enable-werror on Ubuntu Focal

This commit is contained in:
Hennadii Stepanov committed 2021-04-13 10:20:44 +03:00
1 parent f0b457212f
commit c713bb2b24
3 files changed
+15 -3

No files matched your search

+1 -1
View File
@@ -17,7 +17,7 @@ class WinShutdownMonitor : public QAbstractNativeEventFilter
{
public:
/** Implements QAbstractNativeEventFilter interface for processing Windows messages */
bool nativeEventFilter(const QByteArray &eventType, void *pMessage, long *pnResult);
bool nativeEventFilter(const QByteArray &eventType, void *pMessage, long *pnResult) override;
/** Register the reason for blocking shutdown on Windows to allow clean client exit */
static void registerShutdownBlockReason(const QString& strReason, const HWND& mainWinId);