Commit bae8a5c7 authored by hjk's avatar hjk

Core: Code style

Change-Id: I1f3d27ab921d1a2274a7db2c3e71f5122de99917
Reviewed-by: default avatarEike Ziller <eike.ziller@digia.com>
parent c263b1ce
......@@ -269,13 +269,13 @@ void GeneralSettings::resetLanguage()
QString GeneralSettings::language() const
{
QSettings* settings = Core::ICore::settings();
QSettings *settings = Core::ICore::settings();
return settings->value(QLatin1String("General/OverrideLanguage")).toString();
}
void GeneralSettings::setLanguage(const QString &locale)
{
QSettings* settings = Core::ICore::settings();
QSettings *settings = Core::ICore::settings();
if (settings->value(QLatin1String("General/OverrideLanguage")).toString() != locale)
{
QMessageBox::information(Core::ICore::mainWindow(), tr("Restart required"),
......
......@@ -49,7 +49,7 @@ class GeneralSettings : public IOptionsPage
public:
GeneralSettings();
QWidget* widget();
QWidget *widget();
void apply();
void finish();
......
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