r18863 by jghali - fix weird msvc 2010 compiler error

scribus-commit scribus-commit at lists.scribus.net
Sun Mar 2 18:26:16 UTC 2014


Author: jghali
Date: Sun Mar  2 18:26:15 2014
New Revision: 18863

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

Modified:
    branches/Version14x/Scribus/scribus/nftwidget.cpp

Modified: branches/Version14x/Scribus/scribus/nftwidget.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18863&path=/branches/Version14x/Scribus/scribus/nftwidget.cpp
==============================================================================
--- branches/Version14x/Scribus/scribus/nftwidget.cpp (original)
+++ branches/Version14x/Scribus/scribus/nftwidget.cpp Sun Mar  2 18:26:15 2014
@@ -70,7 +70,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