Permalink
Browse files

Merge pull request #7453 from amaiorano/improve-progress-dialog

Make the progress dialog look better (used for e.g. shader compiling)
  • Loading branch information...
stenzek committed Oct 5, 2018
2 parents d741c23 + bf18f19 commit 4ebf3f31896372613f958a07861e9608753fb589
Showing with 3 additions and 2 deletions.
  1. +3 −2 Source/Core/DolphinQt/MainWindow.cpp
@@ -1473,13 +1473,14 @@ void MainWindow::OnUpdateProgressDialog(QString title, int progress, int total)
{
if (!m_progress_dialog)
{
m_progress_dialog = new QProgressDialog(m_render_widget);
m_progress_dialog = new QProgressDialog(m_render_widget, Qt::WindowTitleHint);
m_progress_dialog->show();
m_progress_dialog->setCancelButton(nullptr);
m_progress_dialog->setWindowTitle(tr("Dolphin"));
}
m_progress_dialog->setValue(progress);
m_progress_dialog->setLabelText(title);
m_progress_dialog->setWindowTitle(title);
m_progress_dialog->setMaximum(total);
if (total < 0 || progress >= total)

0 comments on commit 4ebf3f3

Please sign in to comment.