[vlc-devel] commit: Qt: When changing a profile, use it right now. ( Jean-Baptiste Kempf )

git version control git at videolan.org
Fri May 1 00:21:26 CEST 2009


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri May  1 00:11:50 2009 +0200| [83e10e113f26b703b5258dbcb69e85dc356c7764] | committer: Jean-Baptiste Kempf 

Qt: When changing a profile, use it right now.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=83e10e113f26b703b5258dbcb69e85dc356c7764
---

 .../gui/qt4/components/sout/profile_selector.cpp   |    1 +
 modules/gui/qt4/dialogs/convert.cpp                |    3 ++-
 2 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/modules/gui/qt4/components/sout/profile_selector.cpp b/modules/gui/qt4/components/sout/profile_selector.cpp
index 69adc11..23365b8 100644
--- a/modules/gui/qt4/components/sout/profile_selector.cpp
+++ b/modules/gui/qt4/components/sout/profile_selector.cpp
@@ -122,6 +122,7 @@ void VLCProfileSelector::editProfile( const QString& qs, const QString& value )
             int i_profile = profileBox->findText( qs );
             profileBox->setItemText( i_profile, editor->name );
             profileBox->setItemData( i_profile, QVariant( editor->transcodeValue() ) );
+            updateOptions( i_profile );
         }
     }
     delete editor;
diff --git a/modules/gui/qt4/dialogs/convert.cpp b/modules/gui/qt4/dialogs/convert.cpp
index 59f0518..332aa85 100644
--- a/modules/gui/qt4/dialogs/convert.cpp
+++ b/modules/gui/qt4/dialogs/convert.cpp
@@ -140,6 +140,7 @@ void ConvertDialog::close()
             ",dst='" + fileLine->text() + "'}";
     }
 
-    msg_Dbg( p_intf, "Transcode MRL: %s", qtu( mrl ) );
+    msg_Warn( p_intf, "Transcode MRL: %s", qtu( mrl ) );
     accept();
 }
+




More information about the vlc-devel mailing list