X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Fmisc%2Fqte_main.cpp;h=ea9510523145445c0e3351b88397faab982ffa4d;hb=62dd14548820fb0966e6b90d586183f74a427e4b;hp=61f4c92799d342a0e699928228b117ec2f5165d1;hpb=a78e273ec53ff8a6c3993f3deda0b893f8dd709a;p=vlc diff --git a/modules/misc/qte_main.cpp b/modules/misc/qte_main.cpp index 61f4c92799..ea95105231 100644 --- a/modules/misc/qte_main.cpp +++ b/modules/misc/qte_main.cpp @@ -30,7 +30,8 @@ extern "C" # include "config.h" #endif -#include +#include +#include } #include @@ -72,9 +73,9 @@ static qte_thread_t * p_qte_main = NULL; "from normal Qt.") vlc_module_begin(); - set_description( _("Qt Embedded GUI helper") ); + set_description( N_("Qt Embedded GUI helper") ); set_capability( "gui-helper", 90 ); - add_bool( "qte-guiserver", 0, NULL, STANDALONE_TEXT, STANDALONE_LONGTEXT, VLC_FALSE ); + add_bool( "qte-guiserver", 0, NULL, STANDALONE_TEXT, STANDALONE_LONGTEXT, false ); add_shortcut( "qte" ); set_callbacks( Open, Close ); vlc_module_end(); @@ -103,7 +104,7 @@ static int Open( vlc_object_t *p_this ) /* Launch the QApplication::exec() thread. It will not return until the * application is properly initialized, which ensures us thread safety. */ if( vlc_thread_create( p_qte_main, "qte_main", QteMain, - VLC_THREAD_PRIORITY_LOW, VLC_TRUE ) ) + VLC_THREAD_PRIORITY_LOW, true ) ) { vlc_object_release( p_qte_main ); i_refcount--; @@ -161,11 +162,11 @@ static void QteMain( qte_thread_t *p_this ) { int i_argc = 1; - p_this->b_gui_server = VLC_FALSE; + p_this->b_gui_server = false; if( config_GetInt( p_this, "qte-guiserver" ) ) { msg_Dbg( p_this, "Running as Qt Embedded standalone GuiServer" ); - p_this->b_gui_server = VLC_TRUE; + p_this->b_gui_server = true; } /* Run as standalone GuiServer or as GuiClient. */