Remove implementation-specific tag attribute

This commit is contained in:
Luca Beltrame 2018-08-25 18:52:30 +02:00
parent d91a45c328
commit 0b36b3e896
Signed by: einar
GPG key ID: 8DF631FD021DB0C5
2 changed files with 0 additions and 8 deletions

View file

@ -28,7 +28,6 @@ DanbooruTag::DanbooruTag(const QVariantMap &postData, QObject *parent):
m_id = postData.value("id").toInt();
m_name = postData.value("name").toString();
m_count = postData.value("count").toInt();
m_ambiguous = postData.value("ambiguous").toBool();
int type = postData.value("type").toInt();
@ -73,11 +72,6 @@ const QString DanbooruTag::name() const
return m_name;
}
bool DanbooruTag::ambiguous() const
{
return m_ambiguous;
}
Danbooru::DanbooruTag::TagType DanbooruTag::type() const
{
return m_tagType;

View file

@ -56,7 +56,6 @@ private:
int m_id;
int m_count;
QString m_name;
bool m_ambiguous;
TagType m_tagType;
public:
@ -65,7 +64,6 @@ public:
int id() const;
int count() const;
const QString name() const;
bool ambiguous() const;
TagType type() const;
};