diff --git a/src/plugins/debugger/debuggerplugin.cpp b/src/plugins/debugger/debuggerplugin.cpp index 0989479ce27..c992fe85074 100644 --- a/src/plugins/debugger/debuggerplugin.cpp +++ b/src/plugins/debugger/debuggerplugin.cpp @@ -2490,6 +2490,8 @@ void DebuggerPluginPrivate::cleanupViews() bool keepIt = true; if (document->isModified()) keepIt = true; + else if (document->filePath().toString().contains("qeventdispatcher")) + keepIt = false; else if (isMemory) keepIt = !closeMemory; else