diff options
Diffstat (limited to 'src/sdk/installerbasecommons.cpp')
-rw-r--r-- | src/sdk/installerbasecommons.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/sdk/installerbasecommons.cpp b/src/sdk/installerbasecommons.cpp index 5a08d20d3..becd7633a 100644 --- a/src/sdk/installerbasecommons.cpp +++ b/src/sdk/installerbasecommons.cpp @@ -441,8 +441,9 @@ bool TargetDirectoryPageImpl::askQuestion(const QString &identifier, const QStri QMessageBox::StandardButton bt = MessageBoxHandler::warning(MessageBoxHandler::currentBestSuitParent(), identifier, TargetDirectoryPageImpl::tr("Warning"), message, QMessageBox::Yes | QMessageBox::No); +#ifndef Q_OS_MAC QTimer::singleShot(100, wizard()->page(nextId()), SLOT(repaint())); - +#endif return bt == QMessageBox::Yes; } @@ -450,8 +451,9 @@ bool TargetDirectoryPageImpl::failWithError(const QString &identifier, const QSt { MessageBoxHandler::critical(MessageBoxHandler::currentBestSuitParent(), identifier, TargetDirectoryPageImpl::tr("Error"), message); +#ifndef Q_OS_MAC QTimer::singleShot(100, wizard()->page(nextId()), SLOT(repaint())); - +#endif return false; } |