Skip to content
Snippets Groups Projects
Commit 99922ffa authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner.itemLibrary: show Wait Cursoer during import change

parent 92e85247
No related branches found
No related tags found
No related merge requests found
...@@ -363,6 +363,7 @@ void ItemLibraryWidget::setImportFilter(FilterChangeFlag flag) ...@@ -363,6 +363,7 @@ void ItemLibraryWidget::setImportFilter(FilterChangeFlag flag)
if (block == true) if (block == true)
return; return;
QApplication::setOverrideCursor(QCursor(Qt::WaitCursor));
block = true; block = true;
if (flag == QtBasic) { if (flag == QtBasic) {
removeImport(QLatin1String("com.meego")); removeImport(QLatin1String("com.meego"));
...@@ -383,6 +384,7 @@ void ItemLibraryWidget::setImportFilter(FilterChangeFlag flag) ...@@ -383,6 +384,7 @@ void ItemLibraryWidget::setImportFilter(FilterChangeFlag flag)
emit meegoChecked(true); emit meegoChecked(true);
emit symbianChecked(false); emit symbianChecked(false);
} }
QApplication::restoreOverrideCursor();
block = false; block = false;
m_filterFlag = flag; m_filterFlag = flag;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment