Fix Linux comp.
This commit is contained in:
parent
e3d6d8e494
commit
bbbfe23a05
@ -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();
|
||||
|
@ -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());
|
||||
|
@ -21,6 +21,7 @@
|
||||
#include "services/abstract/serviceroot.h"
|
||||
|
||||
#include <QCoreApplication>
|
||||
#include <QPair>
|
||||
|
||||
|
||||
class StandardRecycleBin;
|
||||
|
Loading…
x
Reference in New Issue
Block a user