mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-14 14:32:15 -07:00
remove unnecessary consts
This commit is contained in:
parent
686e90d0ed
commit
68fbd2b800
1 changed files with 7 additions and 7 deletions
|
|
@ -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());
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue