Clean some defines.
This commit is contained in:
parent
74e3df421e
commit
eda49ce4af
@ -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
|
||||
|
@ -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()),
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user