[vlmc-devel] [PATCH 2/2] Removes an unnecessary check for Qt4

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


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

Since we are enforcing qt5, the check is unnecessary, and the code 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 628c418..f2e9b49 100644
--- a/src/Main/main.cpp
+++ b/src/Main/main.cpp
@@ -176,9 +176,6 @@ VLMCGuimain( int argc, char **argv )
 int
 VLMCCoremain( int argc, char **argv )
 {
-#if QT_VERSION < QT_VERSION_CHECK(5,0,0)
-    QTextCodec::setCodecForCStrings(QTextCodec::codecForName("UTF-8"));
-#endif
     QCoreApplication app( argc, argv );
 
     Backend::IBackend* backend;
-- 
2.3.2 (Apple Git-55)



More information about the Vlmc-devel mailing list