r17817 by craig - Fix some compiler warnings

scribus-commit scribus-commit at lists.scribus.net
Thu Oct 25 18:58:04 UTC 2012


Author: craig
Date: Thu Oct 25 18:58:04 2012
New Revision: 17817

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=17817
Log:
Fix some compiler warnings

Modified:
    branches/Version14x/Scribus/scribus/scmenu.cpp
    branches/Version14x/Scribus/scribus/stencilreader.cpp

Modified: branches/Version14x/Scribus/scribus/scmenu.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=17817&path=/branches/Version14x/Scribus/scribus/scmenu.cpp
==============================================================================
--- branches/Version14x/Scribus/scribus/scmenu.cpp (original)
+++ branches/Version14x/Scribus/scribus/scmenu.cpp Thu Oct 25 18:58:04 2012
@@ -142,7 +142,7 @@
 #ifdef Q_WS_MAC
 		bool menuListHasNoIcons = true;
 		// look for ScrAction or ScrPopupMenu from the end of the list
-		QList< QPointer<QObject> >::Iterator it = menuItemList.end();
+//		QList< QPointer<QObject> >::Iterator it = menuItemList.end();
 		int s=menuItemList.size()-1; 
 		for (int i=s; i>=0; --i) {
 			QObject* menuItem = menuItemList[i];

Modified: branches/Version14x/Scribus/scribus/stencilreader.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=17817&path=/branches/Version14x/Scribus/scribus/stencilreader.cpp
==============================================================================
--- branches/Version14x/Scribus/scribus/stencilreader.cpp (original)
+++ branches/Version14x/Scribus/scribus/stencilreader.cpp Thu Oct 25 18:58:04 2012
@@ -446,7 +446,7 @@
 {
 	QString FillCol = "White";
 	QString StrokeCol = "Black";
-	QColor stroke = Qt::black;
+//	QColor stroke = Qt::black;
 	QColor fill = Qt::white;
 	while(!DOC.isNull())
 	{




More information about the scribus-commit mailing list