diff --git a/src/core/feeddownloader.h b/src/core/feeddownloader.h index 8685ab3ee..e720ef603 100644 --- a/src/core/feeddownloader.h +++ b/src/core/feeddownloader.h @@ -35,6 +35,8 @@ struct FeedDownloadResults { return lhs.second > rhs.second; } + // QString represents title if the feed, int represents + // count of newly downloaded messages. QList > m_updatedFeeds; }; diff --git a/src/miscellaneous/application.cpp b/src/miscellaneous/application.cpp index 6fc8c37bb..669a52653 100755 --- a/src/miscellaneous/application.cpp +++ b/src/miscellaneous/application.cpp @@ -128,13 +128,7 @@ void Application::processExecutionMessage(const QString &message) { qDebug("Received '%s' execution message from another application instance.", qPrintable(message)); if (message == APP_IS_RUNNING) { - if (SystemTrayIcon::isSystemTrayActivated()) { - qApp->trayIcon()->showMessage(APP_NAME, - tr("Application is already running."), - QSystemTrayIcon::Information, - TRAY_ICON_BUBBLE_TIMEOUT); - } - + showGuiMessage(APP_NAME, tr("Application is already running."), QSystemTrayIcon::Information); mainForm()->display(); } else if (message == APP_QUIT_INSTANCE) {