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

Hugo Beauzée-Luyssen hugo at beauzee.fr
Fri Mar 11 10:59:50 CET 2016


On 03/10/2016 03:31 PM, Barun Parrucl wrote:
> 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;
>

Both applied, thanks!


More information about the Vlmc-devel mailing list