Commit 0bb2110c authored by Francois Cartegnie's avatar Francois Cartegnie

Qt: Don't bypass (goto error) local variable declarations

parent e3511f67
......@@ -183,6 +183,12 @@ static void ShowDialog ( intf_thread_t *, int, int, intf_dialog_args_t * );
#define ICONCHANGE_LONGTEXT N_( \
"This option allows the interface to change its icon on various occasions.")
static const int i_notification_list[] =
{ NOTIFICATION_NEVER, NOTIFICATION_MINIMIZED, NOTIFICATION_ALWAYS };
static const char *const psz_notification_list_text[] =
{ N_("Never"), N_("When minimized"), N_("Always") };
/**********************************************************************/
vlc_module_begin ()
set_shortname( "Qt" )
......@@ -205,12 +211,6 @@ vlc_module_begin ()
#endif
SYSTRAY_TEXT, SYSTRAY_LONGTEXT, false)
static const int i_notification_list[] =
{ NOTIFICATION_NEVER, NOTIFICATION_MINIMIZED, NOTIFICATION_ALWAYS };
static const char *const psz_notification_list_text[] =
{ N_("Never"), N_("When minimized"), N_("Always") };
add_integer( "qt-notification", NOTIFICATION_MINIMIZED,
NOTIFICATION_TEXT,
NOTIFICATION_LONGTEXT, false )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment