Commit 43420da9 authored by Stian Sandvik Thomassen's avatar Stian Sandvik Thomassen
Browse files

Made FormClassWizardPage respect default lower case settings

FormClassWizardPage should read the default lower case settings from
CppTools the same way that ClassNamePage does.
parent 5e909ccb
......@@ -75,8 +75,8 @@ static bool inline lowerCaseFiles(const Core::ICore *core)
QString lowerCaseSettingsKey = QLatin1String(CppTools::Constants::CPPTOOLS_SETTINGSGROUP);
lowerCaseSettingsKey += QLatin1Char('/');
lowerCaseSettingsKey += QLatin1String(CppTools::Constants::LOWERCASE_CPPFILES_KEY);
return core->settings()->value(lowerCaseSettingsKey, QVariant(false)).toBool();
const bool lowerCaseDefault = CppTools::Constants::lowerCaseFilesDefault;
return core->settings()->value(lowerCaseSettingsKey, QVariant(lowerCaseDefault)).toBool();
// Set up new class widget from settings
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