r18453 by jghali - small patch to fix weird msvc 2010 compiler error

scribus-commit scribus-commit at lists.scribus.net
Tue Sep 3 21:34:16 UTC 2013


Author: jghali
Date: Tue Sep  3 21:34:16 2013
New Revision: 18453

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=18453
Log:
small patch to fix weird msvc 2010 compiler error

Modified:
    trunk/Scribus/scribus/ui/nftwidget.cpp

Modified: trunk/Scribus/scribus/ui/nftwidget.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18453&path=/trunk/Scribus/scribus/ui/nftwidget.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/nftwidget.cpp (original)
+++ trunk/Scribus/scribus/ui/nftwidget.cpp Tue Sep  3 21:34:16 2013
@@ -71,7 +71,7 @@
 	{
 		if (!settings->templates[i]->isDeleted)
 		{
-			ListItem* tmp = new ListItem(settings->templates[i], NULL);
+			ListItem* tmp = new ListItem(settings->templates[i], (QListWidgetItem*) NULL);
 			iconItems.push_back(tmp);
 		}
 	}




More information about the scribus-commit mailing list