Commit b662312b authored by Tobias Hunger's avatar Tobias Hunger
Browse files

Show proper cursor when displaying projectloadwizard

Task-number: QTCREATORBUG-1597
parent 2bb121df
......@@ -43,6 +43,7 @@
#include <QtGui/QLabel>
#include <QtGui/QVBoxLayout>
#include <QtGui/QWizardPage>
#include <QtGui/QApplication>
using namespace Qt4ProjectManager;
using namespace Qt4ProjectManager::Internal;
......@@ -63,10 +64,13 @@ ProjectLoadWizard::ProjectLoadWizard(Qt4Project *project, QWidget *parent, Qt::W
// We used to simply call ::exec() on the dialog
void ProjectLoadWizard::execDialog()
{
if (!pageIds().isEmpty())
if (!pageIds().isEmpty()) {
QApplication::setOverrideCursor(QCursor(Qt::ArrowCursor));
exec();
else
QApplication::restoreOverrideCursor();
} else {
done(QDialog::Accepted);
}
}
ProjectLoadWizard::~ProjectLoadWizard()
......
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