r19752 by jghali - remove code rendered useless by Qt5

scribus-commit scribus-commit at lists.scribus.net
Wed Jan 14 12:27:09 UTC 2015


Author: jghali
Date: Wed Jan 14 12:27:09 2015
New Revision: 19752

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=19752
Log:
remove code rendered useless by Qt5

Modified:
    trunk/Scribus/scribus/main_nix.cpp

Modified: trunk/Scribus/scribus/main_nix.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19752&path=/trunk/Scribus/scribus/main_nix.cpp
==============================================================================
--- trunk/Scribus/scribus/main_nix.cpp (original)
+++ trunk/Scribus/scribus/main_nix.cpp Wed Jan 14 12:27:09 2015
@@ -70,13 +70,6 @@
 
 	ScribusQApp app(argc, argv);
 	initCrashHandler();
-/* possible fix for the Qt-4.4.0 locale problem */
-#ifdef Q_OS_UNIX
-// 	setlocale(LC_ALL, "C");                // use correct char set mapping
-#if (QT_VERSION == 0x040400) || (QT_VERSION == 0x040500)
-	setlocale(LC_NUMERIC, "C");        // make sprintf()/scanf() work
-#endif // QT_VERSION == 0x040400
-#endif // Q_OS_UNIX
 	app.parseCommandLine();
 	int appRetVal=app.init();
 	if (appRetVal==EXIT_FAILURE)




More information about the scribus-commit mailing list