Move Controller::toggleWindow to WindowController
This commit is contained in:
@@ -13,7 +13,7 @@ TrayIcon::TrayIcon(QObject *parent)
|
||||
setIconByName(QStringLiteral("org.kde.neochat.tray"));
|
||||
connect(this, &KStatusNotifierItem::activateRequested, this, [this] {
|
||||
KWindowSystem::setCurrentXdgActivationToken(providedToken());
|
||||
Q_EMIT toggleWindow();
|
||||
WindowController::instance().toggleWindow();
|
||||
});
|
||||
|
||||
connect(&WindowController::instance(), &WindowController::windowChanged, this, [this] {
|
||||
|
||||
Reference in New Issue
Block a user