[vlc-devel] commit: Qt4: simplifications. ( Rémi Duraffort )

git version control git at videolan.org
Tue May 26 10:45:53 CEST 2009


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Tue May 26 00:23:13 2009 +0200| [a92d98f63d7f45144212144ed479d948ed3ee24e] | committer: Rémi Duraffort 

Qt4: simplifications.

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

 modules/gui/qt4/dialogs_provider.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/gui/qt4/dialogs_provider.cpp b/modules/gui/qt4/dialogs_provider.cpp
index bda9130..50ab5c3 100644
--- a/modules/gui/qt4/dialogs_provider.cpp
+++ b/modules/gui/qt4/dialogs_provider.cpp
@@ -274,7 +274,7 @@ void DialogsProvider::openFileGenericDialog( intf_dialog_args_t *p_arg )
         else
             extensions.replace( i, 1, "(" );
     }
-    extensions.replace(QString(";*"), QString(" *"));
+    extensions.replace( ";*", " *" );
     extensions.append( ")" );
 
     /* Save */
@@ -386,7 +386,7 @@ QStringList DialogsProvider::showSimpleOpen( QString help,
         ADD_FILTER_SUBTITLE( fileTypes );
     }
     ADD_FILTER_ALL( fileTypes );
-    fileTypes.replace(QString(";*"), QString(" *"));
+    fileTypes.replace( ";*", " *");
 
     return QFileDialog::getOpenFileNames( NULL,
         help.isEmpty() ? qtr(I_OP_SEL_FILES ) : help,




More information about the vlc-devel mailing list