r18418 by jghali - make main_win32.cpp compilable with Qt5 on Windows

scribus-commit scribus-commit at lists.scribus.net
Mon Aug 5 08:53:34 UTC 2013


Author: jghali
Date: Mon Aug  5 08:53:34 2013
New Revision: 18418

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=18418
Log:
make main_win32.cpp compilable with Qt5 on Windows

Modified:
    trunk/Scribus/scribus/main_win32.cpp

Modified: trunk/Scribus/scribus/main_win32.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18418&path=/trunk/Scribus/scribus/main_win32.cpp
==============================================================================
--- trunk/Scribus/scribus/main_win32.cpp (original)
+++ trunk/Scribus/scribus/main_win32.cpp Mon Aug  5 08:53:34 2013
@@ -281,9 +281,9 @@
 		QString expHdr  = QObject::tr("Scribus Crash");
 		QString expLine = "-------------";
 		QString expMsg  = QObject::tr("Scribus crashes due to the following exception : %1").arg(expDesc);
-		std::cout << (const char*) expHdr.toAscii().data() << std::endl;
-		std::cout << (const char*) expLine.toAscii().data() << std::endl;
-		std::cout << (const char*) expMsg.toAscii().data() << std::endl;
+		std::cout << expHdr.toStdString() << std::endl;
+		std::cout << expLine.toStdString() << std::endl;
+		std::cout << expMsg.toStdString() << std::endl;
 		if (ScribusQApp::useGUI)
 		{
 			ScCore->closeSplash();




More information about the scribus-commit mailing list