Version: sconosciuto (using KDE 3.5.5, compiled sources) Compiler: gcc version 3.4.6 OS: Linux (i686) release 2.6.17.14 When I configure the presentation to show the presentation time duration and I save the changes in the presentation then when I close and reopen the file it lost the option and I have to set it again. Any case this option shouldn't be a global KPresenter option?
SVN commit 600447 by zachmann: o Fix [Bug 136364] New: time duration of the presentation option is not saved. BUG: 136364 M +2 -1 KPrDocument.cpp --- branches/koffice/1.6/koffice/kpresenter/KPrDocument.cpp #600446:600447 @@ -1138,6 +1138,7 @@ settingsWriter.startElement("config:config-item-set"); settingsWriter.addAttribute("config:name", "configuration-settings"); settingsWriter.addConfigItem("SpellCheckerIgnoreList", m_spellCheckIgnoreList.join( "," ) ); + settingsWriter.addConfigItem("ShowPresentationDuration", _showPresentationDuration ); settingsWriter.endElement(); // config:config-item-set m_varColl->variableSetting()->saveOasis( settingsWriter ); @@ -1186,12 +1187,12 @@ writer.endElement(); } - void KPrDocument::loadOasisIgnoreList( const KoOasisSettings& settings ) { KoOasisSettings::Items configurationSettings = settings.itemSet( "configuration-settings" ); if ( !configurationSettings.isNull() ) { + _showPresentationDuration = configurationSettings.parseConfigItemBool( "ShowPresentationDuration", false ); const QString ignorelist = configurationSettings.parseConfigItemString( "SpellCheckerIgnoreList" ); m_spellCheckIgnoreList = QStringList::split( ',', ignorelist ); }
You need to log in before you can comment on or make changes to this bug.