[vlc-commits] Qt: fix progressBar timer

Jean-Baptiste Kempf git at videolan.org
Thu Feb 23 02:05:04 CET 2012


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

Qt: fix progressBar timer

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

 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