Commit 239ca2f2 authored by Bruno Coudoin's avatar Bruno Coudoin
Browse files

core, fix a compilation warning (bad init order)

parent 237c4b36
......@@ -70,8 +70,9 @@ static const QString SECTION_VISIBLE = "sectionVisible";
ApplicationSettings *ApplicationSettings::m_instance = NULL;
ApplicationSettings::ApplicationSettings(QObject *parent): QObject(parent),
m_config(QStandardPaths::writableLocation(QStandardPaths::GenericConfigLocation) +
"/gcompris/" + GCOMPRIS_APPLICATION_NAME + ".conf", QSettings::IniFormat), m_baseFontSizeMin(-7), m_baseFontSizeMax(7)
m_baseFontSizeMin(-7), m_baseFontSizeMax(7),
m_config(QStandardPaths::writableLocation(QStandardPaths::GenericConfigLocation) +
"/gcompris/" + GCOMPRIS_APPLICATION_NAME + ".conf", QSettings::IniFormat)
{
// initialize from settings file or default
......
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