Fix most compilation warnings
This commit is contained in:
@@ -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
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user