Commit e6d85ebb authored by Orgad Shaneh's avatar Orgad Shaneh Committed by hjk
Browse files

Valgrind: Fix error display for shadow build

object() refers to the executable file (the build target), which
doesn't have to be inside the project's directory.

directory() refers to the directory of the frame's source file.

Change-Id: Icf9885d1346acbf42ea904e69d6c8eee4d6a40cb
Reviewed-by: default avatarhjk <>
parent c30856e6
......@@ -163,7 +163,7 @@ bool MemcheckErrorFilterProxyModel::filterAcceptsRow(int sourceRow, const QModel
for (int i = 0; i < framesToLookAt; ++i) {
const Frame &frame =;
foreach (const QString &folder, validFolders) {
if (frame.object().startsWith(folder)) {
if ( {
inProject = true;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment