Fix Linux comp.

This commit is contained in:
Martin Rotter 2015-11-12 19:48:29 +01:00
parent e3d6d8e494
commit bbbfe23a05
3 changed files with 4 additions and 3 deletions

View File

@ -148,8 +148,8 @@ QVariant RootItem::data(int column, int role) const {
int count_unread = countOfUnreadMessages();
return qApp->settings()->value(GROUP(Feeds), SETTING(Feeds::CountFormat)).toString()
.replace(PLACEHOLDER_UNREAD_COUNTS, count_unread < 0 ? QSL('-') : QString::number(count_unread))
.replace(PLACEHOLDER_ALL_COUNTS, count_all < 0 ? QSL('-') : QString::number(count_all));
.replace(PLACEHOLDER_UNREAD_COUNTS, count_unread < 0 ? QSL("-") : QString::number(count_unread))
.replace(PLACEHOLDER_ALL_COUNTS, count_all < 0 ? QSL("-") : QString::number(count_all));
}
else {
return QVariant();

View File

@ -72,7 +72,7 @@ QVariant StandardCategory::data(int column, int role) const {
//: Tooltip for standard feed.
return tr("%1 (category)"
"%2%3").arg(title(),
description().isEmpty() ? QString() : QSL('\n') + description(),
description().isEmpty() ? QString() : QSL("\n") + description(),
childCount() == 0 ?
tr("\nThis category does not contain any nested items.") :
QString());

View File

@ -21,6 +21,7 @@
#include "services/abstract/serviceroot.h"
#include <QCoreApplication>
#include <QPair>
class StandardRecycleBin;