Added ifdef guard

This commit is contained in:
Jonathan White 2017-01-24 22:24:34 -05:00
parent 4eb39dc5ff
commit 70727895f7
No known key found for this signature in database
GPG Key ID: 440FC65F2E0C6E01

View File

@ -72,7 +72,10 @@ public:
Application::Application(int& argc, char** argv)
: QApplication(argc, argv)
, m_mainWindow(nullptr), m_unixSignalNotifier(nullptr)
, m_mainWindow(nullptr)
#ifdef Q_OS_UNIX
, m_unixSignalNotifier(nullptr)
#endif
{
#if defined(Q_OS_UNIX) && !defined(Q_OS_OSX)
installNativeEventFilter(new XcbEventFilter());