Re-factored the basic idea of the application: Engine is the main class that ownsWind...
[qtmeetings] / src / Domain / Configuration / Configuration.cpp
index 9286846..56a4472 100644 (file)
@@ -479,10 +479,10 @@ StartupSettings * Configuration::readStartupSettings( const QDomNode &aXML )
 
 DisplaySettings * Configuration::readDisplaySettings( const QDomNode &aXML )
 {
-       DisplaySettings::DaysInSchedule daysInSchedule;
+       DisplaySettings::DaysInSchedule daysInSchedule = DisplaySettings::WeekdaysInSchedule;
        QTime dayStartsAt, dayEndsAt;
-       DisplaySettings::DateFormat dateformat;
-       DisplaySettings::TimeFormat timeformat;
+       DisplaySettings::DateFormat dateformat = DisplaySettings::ShortDateFormat;
+       DisplaySettings::TimeFormat timeformat = DisplaySettings::TwentyFourHoursTimeFormat;
        int screensaver = 1;    //! Default value for screensaver wait time
 
        for ( QDomNode node = aXML.firstChild(); !node.isNull(); node = node.nextSibling() )