Merge branch 'master' of bitbucket.org:skunkos/rssguard

This commit is contained in:
Martin Rotter 2015-07-11 18:37:57 +02:00
commit b8d1952e47
4 changed files with 5 additions and 8 deletions

View File

@ -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;
};

View File

@ -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) {

View File

@ -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."));
}

View File

@ -42,6 +42,7 @@
#include "qtlocalpeer.h"
#include <QCoreApplication>
#include <QTime>
#include <QDataStream>
#if defined(Q_OS_WIN)
#include <QLibrary>