]> git.sesse.net Git - vlc/commitdiff
Qt: Cosmetics and msg_Dbg.
authorJean-Baptiste Kempf <jb@videolan.org>
Sat, 14 Mar 2009 15:51:30 +0000 (16:51 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Sat, 14 Mar 2009 15:51:30 +0000 (16:51 +0100)
modules/gui/qt4/dialogs_provider.cpp

index 4e254be0533a28dccb36c56c3eb032f9ec9894fa..8e45b751b661e8ca627df713a3973070152d4c7f 100644 (file)
@@ -569,7 +569,7 @@ void DialogsProvider::saveAPlaylist()
 void DialogsProvider::streamingDialog( QWidget *parent, QString mrl,
                                        bool b_transcode_only )
 {
-    const char *psz_option;
+    char *psz_option;
     if( !b_transcode_only )
     {
         SoutDialog *s = SoutDialog::getInstance( parent, p_intf, mrl );
@@ -599,8 +599,7 @@ void DialogsProvider::streamingDialog( QWidget *parent, QString mrl,
 
     if( !EMPTY_STR( psz_option ) )
     {
-
-        msg_Dbg( p_intf, "Sout mrl %s", psz_option );
+        msg_Dbg( p_intf, "Streaming MRL is: %s", psz_option );
         playlist_AddExt( THEPL, qtu( mrl ), _("Streaming"),
                          PLAYLIST_APPEND | PLAYLIST_GO, PLAYLIST_END,
                         -1, 1, &psz_option, VLC_INPUT_OPTION_TRUSTED, true, pl_Unlocked );