Make it possible to override the language settings in Creator.

Platform-dependent behavior is not good enough for a lot of
people it seems.

Reviewed-By: con
This commit is contained in:
Daniel Molkentin
2010-01-05 16:33:30 +01:00
parent 40f5d38b91
commit f093025ff3
5 changed files with 134 additions and 11 deletions

View File

@@ -114,6 +114,7 @@ MainWindow::MainWindow() :
m_uniqueIDManager(new UniqueIDManager()),
m_globalContext(QList<int>() << Constants::C_GLOBAL_ID),
m_additionalContexts(m_globalContext),
// keep this in sync with main() in app/main.cpp
m_settings(new QSettings(QSettings::IniFormat, QSettings::UserScope,
QLatin1String("Nokia"), QLatin1String("QtCreator"), this)),
m_settingsDatabase(new SettingsDatabase(QFileInfo(m_settings->fileName()).path(),