remove unnecessary consts

This commit is contained in:
RickyRister 2025-07-06 23:26:16 -07:00
parent 686e90d0ed
commit 68fbd2b800

View file

@ -160,15 +160,15 @@ private:
QVariantHash properties; QVariantHash properties;
public: public:
const CardSetPtr getPtr() const CardSetPtr getPtr() const
{ {
return set; return set;
} }
const QStringList getProperties() const QStringList getProperties() const
{ {
return properties.keys(); return properties.keys();
} }
const QString getProperty(const QString &propertyName) const QString getProperty(const QString &propertyName) const
{ {
return properties.value(propertyName).toString(); return properties.value(propertyName).toString();
} }
@ -292,11 +292,11 @@ public:
{ {
return isToken; return isToken;
} }
const QStringList getProperties() const QStringList getProperties() const
{ {
return properties.keys(); return properties.keys();
} }
const QString getProperty(const QString &propertyName) const QString getProperty(const QString &propertyName) const
{ {
return properties.value(propertyName).toString(); return properties.value(propertyName).toString();
} }
@ -317,7 +317,7 @@ public:
{ {
return setsNames; return setsNames;
} }
const QString getSetProperty(const QString &setName, const QString &propertyName) const QString getSetProperty(const QString &setName, const QString &propertyName) const
{ {
if (!sets.contains(setName)) if (!sets.contains(setName))
return ""; return "";
@ -345,7 +345,7 @@ public:
{ {
return reverseRelatedCardsToMe; return reverseRelatedCardsToMe;
} }
const QList<CardRelation *> getAllRelatedCards() const QList<CardRelation *> getAllRelatedCards() const
{ {
QList<CardRelation *> result; QList<CardRelation *> result;
result.append(getRelatedCards()); result.append(getRelatedCards());