[vlmc-devel] Removes an unnecessary check for Qt4
Barun Parruck
git at videolan.org
Fri Mar 11 11:20:23 CET 2016
vlmc | branch: master | Barun Parruck <barun.parruck at gmail.com> | Thu Mar 10 20:19:41 2016 +0530| [b3ae2111660c2763985523679f35073c2699a46c] | committer: Hugo Beauzée-Luyssen
Removes an unnecessary check for Qt4
Since we are enforcing qt5, the check is unnecessary, and the code will never be executed.
Signed-off-by: Hugo Beauzée-Luyssen <hugo at beauzee.fr>
> https://code.videolan.org/videolan/vlmc/commit/b3ae2111660c2763985523679f35073c2699a46c
---
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;
More information about the Vlmc-devel
mailing list