]> git.lyx.org Git - features.git/blobdiff - src/frontends/qt4/GuiView.cpp
Replace Q_WS_WIN with appropriate guards to account for Qt5.
[features.git] / src / frontends / qt4 / GuiView.cpp
index a7cbbe49fed44c0026419e1a63c88d1aa6974ee4..08b9c35e0e77a9d89def4e76a14aefc5fe6cd92b 100644 (file)
@@ -448,7 +448,7 @@ GuiView::GuiView(int id)
        // We don't want to keep the window in memory if it is closed.
        setAttribute(Qt::WA_DeleteOnClose, true);
 
-#if (!defined(Q_WS_WIN) && !defined(Q_WS_MACX))
+#if !(defined(Q_OS_WIN) || defined(Q_CYGWIN_WIN)) && !defined(Q_WS_MACX)
        // QIcon::fromTheme was introduced in Qt 4.6
 #if (QT_VERSION >= 0x040600)
        // assign an icon to main form. We do not do it under Qt/Win or Qt/Mac,