.arg(XSTR(XDG_APPS_INSTALL_DIR))
.arg(QCoreApplication::applicationFilePath().section('/', -1));
_server->setDesktopFile(desktopFile);
- connect(_server, SIGNAL(serverDisplay()), QtUi::mainWindow(), SLOT(forceActivated()));
+ connect(_server, SIGNAL(serverDisplay()), SLOT(activateMainWidget()));
if (_enabled) {
_server->show();
qDeleteAll(_indicatorHash);
}
+void IndicatorNotificationBackend::activateMainWidget() {
+ GraphicalUi::activateMainWidget();
+}
+
void IndicatorNotificationBackend::notify(const Notification ¬ification) {
if(!_enabled) {
return;