forked from qt-creator/qt-creator
Revert "Debugger: Remove special handling for event dispatcher files"
This reverts commit c75b8f22fa.
The feature was actually useful. Right now, debugging tends
to stop there, not only in a place people typically don't
expect, because it's not "their" code, but now also with tons
of "Semantic issues" markers which makes the file look
really evil.
Change-Id: I9ebd6a7fe31de1e03d63e08db4da31069a65578f
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user