[vlmc-devel] Removes an unnecessary check for Qt 4

Barun Parruck git at videolan.org
Fri Mar 11 11:20:21 CET 2016


vlmc | branch: master | Barun Parruck <barun.parruck at gmail.com> | Thu Mar 10 20:19:40 2016 +0530| [14e670c9d0e71f3b467885e99bcd2a3c1bc8950e] | committer: Hugo Beauzée-Luyssen

Removes an unnecessary check for Qt 4

This change is made as we are no longer supporting Qt4, so the code is unused, and will never be executed.

Signed-off-by: Hugo Beauzée-Luyssen <hugo at beauzee.fr>

> https://code.videolan.org/videolan/vlmc/commit/14e670c9d0e71f3b467885e99bcd2a3c1bc8950e
---

 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;



More information about the Vlmc-devel mailing list