From bea98c0e2c282926b473f0e11051a15f8480ade3 Mon Sep 17 00:00:00 2001 From: "Joakim L. Gilje" Date: Wed, 22 Nov 2023 08:22:46 +0100 Subject: [PATCH] added Q_OS_UNIX to ifdef guard around set_wm_class --- src/qt/qt_mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qt/qt_mainwindow.cpp b/src/qt/qt_mainwindow.cpp index ee2311120..f3503caeb 100644 --- a/src/qt/qt_mainwindow.cpp +++ b/src/qt/qt_mainwindow.cpp @@ -718,7 +718,7 @@ MainWindow::MainWindow(QWidget *parent) {} #endif -#if !defined Q_OS_MACOS && !defined Q_OS_HAIKU +#if defined Q_OS_UNIX && !defined Q_OS_MACOS && !defined Q_OS_HAIKU if (QApplication::platformName().contains("xcb")) { QTimer::singleShot(0, this, [this] { auto whandle = windowHandle();