diff --git a/hotkeywrapper.cc b/hotkeywrapper.cc index 5b16653a..28170d11 100644 --- a/hotkeywrapper.cc +++ b/hotkeywrapper.cc @@ -17,8 +17,10 @@ ////////////////////////////////////////////////////////////////////////// QHotkeyApplication::QHotkeyApplication( int & argc, char ** argv ): - QtSingleApplication( argc, argv ), - mainWindow( 0 ) + QtSingleApplication( argc, argv ) +#ifdef Q_OS_WIN32 +, mainWindow( 0 ) +#endif { }