From 08e3fcfe65a0fcddc16fdf9b6b94f2e7c4d5364c Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Mon, 17 Feb 2014 19:46:08 +0100 Subject: [PATCH] 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) --- src/declarativeimports/core/dialog.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/declarativeimports/core/dialog.cpp b/src/declarativeimports/core/dialog.cpp index 84da3d733..1c42fece5 100644 --- a/src/declarativeimports/core/dialog.cpp +++ b/src/declarativeimports/core/dialog.cpp @@ -503,7 +503,6 @@ DialogProxy::WindowType DialogProxy::type() const void DialogProxy::focusInEvent(QFocusEvent *ev) { - requestActivate(); QQuickWindow::focusInEvent(ev); }