Fix most compilation warnings

This commit is contained in:
Tobias Fella
2023-07-15 16:57:06 +02:00
parent b990e3fbcb
commit 32ff22ba89
11 changed files with 95 additions and 134 deletions

View File

@@ -19,6 +19,8 @@ TrayIcon::TrayIcon(QObject *parent)
connect(&WindowController::instance(), &WindowController::windowChanged, this, [this] {
#if QT_VERSION > QT_VERSION_CHECK(6, 0, 0)
setAssociatedWindow(WindowController::instance().window());
#else
Q_UNUSED(this);
#endif
});
}