mirror of
https://github.com/martinrotter/rssguard.git
synced 2025-01-23 06:07:39 +01:00
Some messagebox stuff.
This commit is contained in:
parent
9dce9f4a7d
commit
0f48b4fe34
@ -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<QPair<QString,int> > m_updatedFeeds;
|
||||
};
|
||||
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user