Still broken, working on custom IDS.

This commit is contained in:
Martin Rotter 2017-09-22 22:27:13 +02:00
parent e289da58fc
commit 2711b6b457
4 changed files with 11 additions and 6 deletions

@ -1 +1 @@
Subproject commit e9833a2e45d8d3241f662d3a03ed19d3446386ce
Subproject commit d44aacc99fdc997648c924f0d5444566164f142e

View File

@ -452,6 +452,10 @@ QString RootItem::customId() const {
return m_customId;
}
int RootItem::customNumericId() const {
return customId().toInt();
}
void RootItem::setCustomId(const QString& custom_id) {
m_customId = custom_id;
}

View File

@ -211,6 +211,7 @@ class RootItem : public QObject {
// NOTE: For standard feed/category, this WILL equal to id().
QString customId() const;
int customNumericId() const;
void setCustomId(const QString& custom_id);
// Converters