added Q_OS_UNIX to ifdef guard around set_wm_class
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user