Commit 40f552c1 authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner.propertyEditor: optimize startup

The QApplication::processEvents(); slowed it down.
Rectangle and Text is enough.
parent ba311ab7
......@@ -504,13 +504,7 @@ void PropertyEditor::setupPanes()
{
QApplication::setOverrideCursor(QCursor(Qt::WaitCursor));
setupPane("Qt/Rectangle");
QApplication::processEvents();
setupPane("Qt/Text");
QApplication::processEvents();
setupPane("Qt/TextInput");
QApplication::processEvents();
setupPane("Qt/TextEdit");
QApplication::processEvents();
setupPane("Qt/Text");
resetView();
m_setupCompleted = true;
QApplication::restoreOverrideCursor();
......
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