diff --git a/src/Gui/WaitCursor.cpp b/src/Gui/WaitCursor.cpp index bb47a538b6..43a3cc187e 100644 --- a/src/Gui/WaitCursor.cpp +++ b/src/Gui/WaitCursor.cpp @@ -27,6 +27,7 @@ # include # include # include +# include # ifdef FC_OS_WIN32 # include # endif @@ -115,6 +116,9 @@ bool WaitCursorP::isModalDialog(QObject* o) const QMessageBox* dlg = qobject_cast(parent); if (dlg && dlg->isModal()) return true; + QProgressDialog* pd = qobject_cast(parent); + if (pd) + return true; parent = parent->parentWidget(); }