for Qt5 no explict event processing after creating a 3d view
This commit is contained in:
@@ -678,7 +678,11 @@ void Application::slotNewDocument(const App::Document& Doc)
|
||||
|
||||
signalNewDocument(*pDoc);
|
||||
pDoc->createView(View3DInventor::getClassTypeId());
|
||||
// FIXME: Do we really need this further? Calling processEvents() mixes up order of execution in an
|
||||
// unpredicatable way. At least it seems that with Qt5 we don't need this any more.
|
||||
#if QT_VERSION < 0x050000
|
||||
qApp->processEvents(); // make sure to show the window stuff on the right place
|
||||
#endif
|
||||
}
|
||||
|
||||
void Application::slotDeleteDocument(const App::Document& Doc)
|
||||
|
||||
Reference in New Issue
Block a user