Commit eed5cd17 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Win32: hopefully improve the fontconfig cache display

parent 0d727300
......@@ -194,6 +194,7 @@ QVLCProgressDialog::QVLCProgressDialog (DialogHandler *parent,
setCancelButton( new QPushButton( "&" + qfu(data->cancel) ) );
if (data->title != NULL)
setWindowTitle (qfu(data->title));
setWindowRole ("vlc-progress");
setMinimumDuration (300);
setValue( 0 );
......@@ -247,6 +248,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() ) );
// dlg->show ();
}
......
......@@ -358,8 +358,8 @@ static int Create( vlc_object_t *p_this )
_("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();
......@@ -367,7 +367,7 @@ static int Create( vlc_object_t *p_this )
if( p_dialog )
{
dialog_ProgressSet( p_dialog, NULL, 1.0 );
// dialog_ProgressSet( p_dialog, NULL, 1.0 );
dialog_ProgressDestroy( p_dialog );
p_dialog = NULL;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment