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 ();
}
_("Please wait while your font cache is rebuilt.\n"
"This should take less than a few minutes."), NULL );
- if( p_dialog )
- dialog_ProgressSet( p_dialog, NULL, 0.5 );
+/* if( p_dialog )
+ dialog_ProgressSet( p_dialog, NULL, 0.5 ); */
FcConfigBuildFonts( fcConfig );
t2 = mdate();
if( p_dialog )
{
- dialog_ProgressSet( p_dialog, NULL, 1.0 );
+// dialog_ProgressSet( p_dialog, NULL, 1.0 );
dialog_ProgressDestroy( p_dialog );
p_dialog = NULL;
}