Remove redundant layer of QVariant in Preferences class

PR #15812.
This commit is contained in:
Chocobo1 2021-12-07 12:17:37 +08:00 committed by GitHub
parent 0ee303789a
commit 28f2def21f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 166 additions and 157 deletions

File diff suppressed because it is too large Load diff

View file

@ -32,7 +32,6 @@
#include <QObject>
#include <QtContainerFwd>
#include <QtGlobal>
#include <QVariant>
#include "base/utils/net.h"
@ -94,9 +93,6 @@ class Preferences : public QObject
Preferences();
QVariant value(const QString &key, const QVariant &defaultValue = {}) const;
void setValue(const QString &key, const QVariant &value);
static Preferences *m_instance;
signals: