Commit 3dc4e182 authored by Tobias Hunger's avatar Tobias Hunger

SettingsAccessor: Rename findSettingsFiles -> settingsFiles()

Change-Id: I42161ab2f66ded277c36c4868ced13c640d26399
Reviewed-by: default avatarDaniel Teske <daniel.teske@digia.com>
parent eb8f88a3
......@@ -777,7 +777,7 @@ bool SettingsAccessor::addVersionUpgrader(VersionUpgrader *upgrader)
}
/* Will always return the default name first */
QList<FileName> SettingsAccessor::findSettingsFiles(const QString &suffix) const
QList<FileName> SettingsAccessor::settingsFiles(const QString &suffix) const
{
const QString defaultName = defaultFileName(suffix);
QDir projectDir = QDir(project()->projectDirectory().toString());
......@@ -846,7 +846,7 @@ void SettingsAccessor::backupUserFile() const
QVariantMap SettingsAccessor::readUserSettings(QWidget *parent) const
{
SettingsAccessorPrivate::Settings result;
QList<Utils::FileName> fileList = findSettingsFiles(m_userSuffix);
QList<Utils::FileName> fileList = settingsFiles(m_userSuffix);
if (fileList.isEmpty()) // No settings found at all.
return result.map;
......
......@@ -73,7 +73,7 @@ protected:
virtual bool isBetterMatch(const QVariantMap &origData, const QVariantMap &newData) const;
private:
QList<Utils::FileName> findSettingsFiles(const QString &suffix) const;
QList<Utils::FileName> settingsFiles(const QString &suffix) const;
static QByteArray creatorId();
QString defaultFileName(const QString &suffix) const;
void backupUserFile() const;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment