mirror of
https://github.com/martinrotter/rssguard.git
synced 2025-01-22 05:37:03 +01:00
Merge branch 'master' of bitbucket.org:skunkos/rssguard
This commit is contained in:
commit
b8d1952e47
@ -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) {
|
||||
|
@ -139,7 +139,7 @@ void WebView::saveCurrentPageToFile() {
|
||||
str << html_text;
|
||||
selected_file_handle.close();
|
||||
}
|
||||
else {
|
||||
else {
|
||||
MessageBox::show(this, QMessageBox::Critical, tr("Cannot save web page"),
|
||||
tr("Web page cannot be saved because destination file is not writtable."));
|
||||
}
|
||||
|
@ -42,6 +42,7 @@
|
||||
#include "qtlocalpeer.h"
|
||||
#include <QCoreApplication>
|
||||
#include <QTime>
|
||||
#include <QDataStream>
|
||||
|
||||
#if defined(Q_OS_WIN)
|
||||
#include <QLibrary>
|
||||
|
Loading…
Reference in New Issue
Block a user