mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-11 15:27:54 +00:00
Remove redundant const specifier
This commit is contained in:
parent
1c9696b68e
commit
1c343a444b
@ -92,7 +92,7 @@ void Preferences::freeInstance()
|
||||
m_instance = nullptr;
|
||||
}
|
||||
|
||||
const QVariant Preferences::value(const QString &key, const QVariant &defaultValue) const
|
||||
QVariant Preferences::value(const QString &key, const QVariant &defaultValue) const
|
||||
{
|
||||
return SettingsStorage::instance()->loadValue(key, defaultValue);
|
||||
}
|
||||
|
@ -81,7 +81,7 @@ class Preferences : public QObject
|
||||
|
||||
Preferences();
|
||||
|
||||
const QVariant value(const QString &key, const QVariant &defaultValue = {}) const;
|
||||
QVariant value(const QString &key, const QVariant &defaultValue = {}) const;
|
||||
void setValue(const QString &key, const QVariant &value);
|
||||
|
||||
static Preferences *m_instance;
|
||||
|
Loading…
Reference in New Issue
Block a user