Autotest: some FilePath::toFileInfo cleanup

Change-Id: I45395c5e83bc01d98d0bec20c992424d4150c844
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
David Schulz
2021-06-09 09:23:24 +02:00
parent 09ead204ea
commit cb1b86645a
7 changed files with 20 additions and 21 deletions

View File

@@ -84,7 +84,6 @@ Utils::FilePath ITestConfiguration::executableFilePath() const
if (!hasExecutable())
return {};
QFileInfo commandFileInfo = m_runnable.executable.toFileInfo();
if (m_runnable.executable.isExecutableFile() && m_runnable.executable.path() != ".") {
return m_runnable.executable.absoluteFilePath();
} else if (m_runnable.executable.path() == "."){