r21139 by jghali -

scribus-commit scribus-commit at lists.scribus.net
Wed Mar 30 09:39:57 UTC 2016


Author: jghali
Date: Wed Mar 30 09:39:57 2016
New Revision: 21139

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=21139
Log:
#13872: Replace duplicated inlined code with function call <jurajF>

Modified:
    trunk/Scribus/scribus/scribusdoc.cpp

Modified: trunk/Scribus/scribus/scribusdoc.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21139&path=/trunk/Scribus/scribus/scribusdoc.cpp
==============================================================================
--- trunk/Scribus/scribus/scribusdoc.cpp	(original)
+++ trunk/Scribus/scribus/scribusdoc.cpp	Wed Mar 30 09:39:57 2016
@@ -15838,10 +15838,7 @@
 
 //	bool viewToRecalcPictureRes = (m_docPrefsData.itemToolPrefs.imageLowResType==oldPrefsData.itemToolPrefs.imageLowResType);
 
-	autoSaveTimer->stop();
-	if (m_docPrefsData.docSetupPrefs.AutoSave)
-		autoSaveTimer->start(m_docPrefsData.docSetupPrefs.AutoSaveTime);
-	emit updateAutoSaveClock();
+	restartAutoSaveTimer();
 
 /*	FIXME: scribus determines dict by charstyle now, so this setting should go into the doc's default charstyle
 		currDoc->docHyphenator->slotNewDict(ScMW->GetLang(tabHyphenator->language->currentText()));




More information about the scribus-commit mailing list