r19758 by fschmid - Remvoe some unneeded qDebug() calls.

scribus-commit scribus-commit at lists.scribus.net
Sat Jan 17 08:18:08 UTC 2015


Author: fschmid
Date: Sat Jan 17 08:18:08 2015
New Revision: 19758

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=19758
Log:
Remvoe some unneeded qDebug() calls.

Modified:
    trunk/Scribus/scribus/prefsmanager.cpp
    trunk/Scribus/scribus/scribus.cpp

Modified: trunk/Scribus/scribus/prefsmanager.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19758&path=/trunk/Scribus/scribus/prefsmanager.cpp
==============================================================================
--- trunk/Scribus/scribus/prefsmanager.cpp (original)
+++ trunk/Scribus/scribus/prefsmanager.cpp Sat Jan 17 08:18:08 2015
@@ -270,7 +270,7 @@
 	appPrefs.opToolPrefs.magMin = 1;
 	appPrefs.opToolPrefs.magMax = 32000;
 	appPrefs.opToolPrefs.magStep = 25;
-	qDebug()<<ScQApp->currGUILanguage();
+//	qDebug()<<ScQApp->currGUILanguage();
 	appPrefs.docSetupPrefs.docUnitIndex = unitIndexFromString(LocaleManager::instance()->unitForLocale(ScQApp->currGUILanguage()));
 	appPrefs.itemToolPrefs.polyCorners = 4;
 	appPrefs.itemToolPrefs.polyFactor = 0.5;

Modified: trunk/Scribus/scribus/scribus.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19758&path=/trunk/Scribus/scribus/scribus.cpp
==============================================================================
--- trunk/Scribus/scribus/scribus.cpp (original)
+++ trunk/Scribus/scribus/scribus.cpp Sat Jan 17 08:18:08 2015
@@ -1449,7 +1449,7 @@
 {
 	if (!HaveDoc)
 		return;
-	const QString& actionName="";
+//	const QString& actionName="";
 	if (doc->m_Selection->count() == 1)
 	{
 		PageItem* selItem = doc->m_Selection->itemAt(0);
@@ -9885,6 +9885,8 @@
 	{
 		qDebug()<<"qov"<<q_xSpinBox->property("value").toDouble();
 	}
+	qqview->close();
+	qqview->deleteLater();
 }
 
 /*




More information about the scribus-commit mailing list