[vlmc-devel] [PATCH 1/2] Removes an unnecessary check for Qt 4

Barun Parrucl barun.parruck at gmail.com
Thu Mar 10 15:31:40 CET 2016


From: Barun Parruck <barun.parruck at gmail.com>

This change is made as we are no longer supporting Qt4, so the code is unused, and will never be executed.
---
 src/Main/main.cpp | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/Main/main.cpp b/src/Main/main.cpp
index e3e412c..628c418 100644
--- a/src/Main/main.cpp
+++ b/src/Main/main.cpp
@@ -84,9 +84,6 @@ VLMCGuimain( int argc, char **argv )
     XInitThreads();
 #endif
 
-#if QT_VERSION < QT_VERSION_CHECK(5,0,0)
-    QTextCodec::setCodecForCStrings(QTextCodec::codecForName("UTF-8"));
-#endif
     QApplication app( argc, argv );
 
     Backend::IBackend* backend;
-- 
2.3.2 (Apple Git-55)



More information about the Vlmc-devel mailing list