forked from qt-creator/qt-creator
ElfReader: Fix running locally
Amends commit 736820a1a0.
Change-Id: Id0a8aa9b0939e53f6eafc7b9f0e1cb821883e90a
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
c099f622bb
commit
a19da3af74
@@ -113,7 +113,7 @@ bool ElfMapper::map()
|
||||
return fdlen > 0;
|
||||
}
|
||||
|
||||
file.setFileName(binary.fileName());
|
||||
file.setFileName(binary.path());
|
||||
if (!file.open(QIODevice::ReadOnly))
|
||||
return false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user