Clean some defines.

This commit is contained in:
Martin Rotter 2017-09-23 22:19:40 +02:00
parent 74e3df421e
commit eda49ce4af
3 changed files with 2 additions and 3 deletions

View File

@ -55,7 +55,6 @@
#define RESELECT_MESSAGE_THRESSHOLD 500
#define ICON_SIZE_SETTINGS 16
#define NO_PARENT_CATEGORY -1
#define NO_PARENT_CATEGORY_STR ""
#define ID_RECYCLE_BIN -2
#define TRAY_ICON_BUBBLE_TIMEOUT 20000
#define CLOSE_LOCK_TIMEOUT 500

View File

@ -30,7 +30,7 @@ RootItem::RootItem(RootItem* parent_item)
: QObject(nullptr),
m_kind(RootItemKind::Root),
m_id(NO_PARENT_CATEGORY),
m_customId(QSL(NO_PARENT_CATEGORY_STR)),
m_customId(QSL("")),
m_title(QString()),
m_description(QString()),
m_icon(QIcon()),

View File

@ -137,7 +137,7 @@ RootItem* InoreaderNetworkFactory::feedsCategories(bool obtain_icons) {
RootItem* parent = new RootItem();
QMap<QString, RootItem*> cats;
cats.insert(NO_PARENT_CATEGORY_STR, parent);
cats.insert(QSL(""), parent);
QNetworkReply* reply = m_oauth2->get(QUrl(INOREADER_API_LIST_LABELS));
QEventLoop loop;