[vlc-commits] Qt: fix progressBar timer

Jean-Baptiste Kempf git at videolan.org
Thu Feb 23 10:52:21 CET 2012


vlc/vlc-2.0 | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Feb 23 01:59:31 2012 +0100| [b20a5b6e56c55796684a78645a7882dadf69ca1e] | committer: Jean-Baptiste Kempf

Qt: fix progressBar timer
(cherry picked from commit 41669761ffdac7d0efb927bd7c51f3494fb7d7cd)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

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

diff --git a/modules/gui/qt4/dialogs/external.cpp b/modules/gui/qt4/dialogs/external.cpp
index d5dc038..59e3493 100644
--- a/modules/gui/qt4/dialogs/external.cpp
+++ b/modules/gui/qt4/dialogs/external.cpp
@@ -199,7 +199,6 @@ QVLCProgressDialog::QVLCProgressDialog (DialogHandler *parent,
         setWindowTitle (qfu(data->title));
 
     setWindowRole ("vlc-progress");
-    setMinimumDuration (1200);
     setValue( 0 );
 
     connect (this, SIGNAL(progressed(int)), SLOT(setValue(int)));
@@ -251,7 +250,7 @@ void DialogHandler::startProgressBar (vlc_object_t *, void *value)
     dialog_progress_bar_t *data = (dialog_progress_bar_t *)value;
     QWidget *dlg = new QVLCProgressDialog (this, data);
 
-    QTimer::singleShot( 300, dlg, SLOT( show() ) );
+    QTimer::singleShot( 1500, dlg, SLOT( show() ) );
 //    dlg->show ();
 }
 



More information about the vlc-commits mailing list