Skip to content

Commit ae7495b

Browse files
committed
fix #71001: 'loading' window at startup does not close if using Qt library version == 5.5
1 parent 0df560b commit ae7495b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

zerberus/zerberusgui.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ ZerberusGui::ZerberusGui(Ms::Synthesizer* s)
9797
connect(remove, SIGNAL(clicked()), SLOT(removeClicked()));
9898
connect(&_futureWatcher, SIGNAL(finished()), this, SLOT(onSoundFontLoaded()));
9999
_progressDialog = new QProgressDialog("Loading...", "", 0, 100, 0, Qt::FramelessWindowHint);
100+
_progressDialog->reset(); // required for Qt 5.5, see QTBUG-47042
100101
_progressDialog->setCancelButton(0);
101102
_progressTimer = new QTimer(this);
102103
connect(_progressTimer, SIGNAL(timeout()), this, SLOT(updateProgress()));

0 commit comments

Comments
 (0)