#include <QProgressDialog>
#include <QMutex>
#include <QPushButton>
+#include <QTimer>
DialogHandler::DialogHandler (intf_thread_t *intf, QObject *_parent)
: QObject( _parent ), intf (intf),
setCancelButton( new QPushButton( "&" + qfu(data->cancel) ) );
if (data->title != NULL)
setWindowTitle (qfu(data->title));
+
setWindowRole ("vlc-progress");
setMinimumDuration (300);
setValue( 0 );
dialog_progress_bar_t *data = (dialog_progress_bar_t *)value;
QWidget *dlg = new QVLCProgressDialog (this, data);
+ QTimer::singleShot( 300, dlg, SLOT( show() ) );
// dlg->show ();
}