[vlc-commits] commit: Qt: fix extensions dialog title (after set_title) ( Jean-Philippe André )

git at videolan.org git at videolan.org
Sat Mar 20 18:34:43 CET 2010


vlc | branch: master | Jean-Philippe André <jpeg at videolan.org> | Sat Mar 20 18:08:57 2010 +0100| [8f99b2412616241539cdb72e77bba1090fc6307a] | committer: Jean-Philippe André 

Qt: fix extensions dialog title (after set_title)

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

 modules/gui/qt4/dialogs/extensions.cpp |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/modules/gui/qt4/dialogs/extensions.cpp b/modules/gui/qt4/dialogs/extensions.cpp
index b0b8dbf..18fd5bf 100644
--- a/modules/gui/qt4/dialogs/extensions.cpp
+++ b/modules/gui/qt4/dialogs/extensions.cpp
@@ -120,6 +120,9 @@ ExtensionDialog* ExtensionsDialogProvider::UpdateExtDialog(
     {
         dialog->has_lock = true;
         dialog->UpdateWidgets();
+        if( strcmp( qtu( dialog->windowTitle() ),
+	            p_dialog->psz_title ) != 0 )
+	    dialog->setWindowTitle( qfu( p_dialog->psz_title ) );
         dialog->has_lock = false;
         dialog->setVisible( !p_dialog->b_hide );
     }



More information about the vlc-commits mailing list