Commit ac563c2b authored by Eike Ziller's avatar Eike Ziller
Browse files

Remove loop and use QSettings "api" to remove all subkeys.



Change-Id: I40e4a8acc08ac76b59eabd39dd562e37b90313cb
Reviewed-by: default avatarAndré Hartmann <aha_1980@gmx.de>
Reviewed-by: default avatarDaniel Teske <daniel.teske@digia.com>
parent 1d03a333
......@@ -344,8 +344,7 @@ void CheckableMessageBox::resetAllDoNotAskAgainQuestions(QSettings *settings)
{
QTC_ASSERT(settings, return);
settings->beginGroup(QLatin1String(kDoNotAskAgainKey));
foreach (const QString &subKey, settings->childKeys())
settings->remove(subKey);
settings->remove(QString());
settings->endGroup();
}
......
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