From bbbfe23a051d8b89d73ed578041294f597f5c695 Mon Sep 17 00:00:00 2001 From: Martin Rotter Date: Thu, 12 Nov 2015 19:48:29 +0100 Subject: [PATCH] Fix Linux comp. --- src/core/rootitem.cpp | 4 ++-- src/services/standard/standardcategory.cpp | 2 +- src/services/standard/standardserviceroot.h | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/core/rootitem.cpp b/src/core/rootitem.cpp index 5d062e320..ea0d35090 100755 --- a/src/core/rootitem.cpp +++ b/src/core/rootitem.cpp @@ -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(); diff --git a/src/services/standard/standardcategory.cpp b/src/services/standard/standardcategory.cpp index 76cb49c0e..3f125e9bc 100755 --- a/src/services/standard/standardcategory.cpp +++ b/src/services/standard/standardcategory.cpp @@ -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()); diff --git a/src/services/standard/standardserviceroot.h b/src/services/standard/standardserviceroot.h index 98d2813b7..5f02dfb0a 100755 --- a/src/services/standard/standardserviceroot.h +++ b/src/services/standard/standardserviceroot.h @@ -21,6 +21,7 @@ #include "services/abstract/serviceroot.h" #include +#include class StandardRecycleBin;