Show window when server is activated.
authorAurelien Gateau <aurelien.gateau@canonical.com>
Wed, 26 Aug 2009 15:15:36 +0000 (17:15 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Mon, 14 Sep 2009 21:37:08 +0000 (23:37 +0200)
src/qtui/indicatornotificationbackend.cpp

index 8322b84..f4bc3ae 100644 (file)
@@ -45,6 +45,8 @@ IndicatorNotificationBackend::IndicatorNotificationBackend(QObject *parent)
   _server = QIndicate::Server::defaultInstance();
   _server->setType("message.im");
   _server->setDesktopFile(DESKTOP_FILE);
+  connect(_server, SIGNAL(serverDisplay()), QtUi::mainWindow(), SLOT(forceActivated()));
+
   if (_enabled) {
     _server->show();
   }