forked from qt-creator/qt-creator
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user