chore: lib/common/settings remove unused private isPortableSettings
This commit is contained in:
parent
1dd5654af6
commit
1cee520e2b
2 changed files with 0 additions and 6 deletions
|
|
@ -56,11 +56,6 @@ Settings::Settings(QObject *parent) : QObject(parent)
|
|||
qInfo().noquote() << "settings file:" << m_settings->fileName();
|
||||
}
|
||||
|
||||
bool Settings::isPortableSettings()
|
||||
{
|
||||
return (QFile(instance()->m_portableSettingsFile).exists());
|
||||
}
|
||||
|
||||
void Settings::cleanSettings()
|
||||
{
|
||||
const QStringList keys = m_settings->allKeys();
|
||||
|
|
|
|||
|
|
@ -161,7 +161,6 @@ private:
|
|||
Settings *operator=(Settings &other) = delete;
|
||||
Settings(const Settings &other) = delete;
|
||||
~Settings() = default;
|
||||
static bool isPortableSettings();
|
||||
void cleanSettings();
|
||||
|
||||
QSettings *m_settings = nullptr;
|
||||
|
|
|
|||
Loading…
Reference in a new issue