Remove unused variables

Change-Id: I653f6fa71bb04e049d4e1848a7e38a606692e678
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Jarek Kobus
2022-12-07 19:48:18 +01:00
parent 4ff34cf47f
commit 834f89acf2
12 changed files with 5 additions and 19 deletions

View File

@@ -201,12 +201,9 @@ void ICodeStylePreferences::fromSettings(const QString &category, QSettings *s)
QVariantMap ICodeStylePreferences::toMap() const
{
QVariantMap map;
if (!currentDelegate())
return d->m_tabSettings.toMap();
return {
{currentPreferencesKey, currentDelegateId()}
};
return {{currentPreferencesKey, currentDelegateId()}};
}
void ICodeStylePreferences::fromMap(const QVariantMap &map)