requestActivate() in this place caused 100% cpu

if more than one dialog is shown in a loop, causes requestActivate called to different windows too fast, this causes 100% cpu usage both in the application and in the windowmanager (not kwin specific)
This commit is contained in:
Marco Martin 2014-02-17 19:46:08 +01:00
parent 7fcb1b7889
commit 08e3fcfe65

View File

@ -503,7 +503,6 @@ DialogProxy::WindowType DialogProxy::type() const
void DialogProxy::focusInEvent(QFocusEvent *ev)
{
requestActivate();
QQuickWindow::focusInEvent(ev);
}