ElfReader: Fix running locally

Amends commit 736820a1a0.

Change-Id: Id0a8aa9b0939e53f6eafc7b9f0e1cb821883e90a
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
Orgad Shaneh
2021-10-14 09:01:03 +03:00
committed by Orgad Shaneh
parent c099f622bb
commit a19da3af74

View File

@@ -113,7 +113,7 @@ bool ElfMapper::map()
return fdlen > 0; return fdlen > 0;
} }
file.setFileName(binary.fileName()); file.setFileName(binary.path());
if (!file.open(QIODevice::ReadOnly)) if (!file.open(QIODevice::ReadOnly))
return false; return false;