Commit c4dfd884 authored by Eike Ziller's avatar Eike Ziller

QmlProjectRunConfiguration: Use QFileInfo::exists

One less indirection

Change-Id: I4b4f8000c2493a676bc02cff87a475f1f185e569
Reviewed-by: default avatarhjk <>
parent f2ef88aa
......@@ -106,7 +106,7 @@ QString QmlProjectRunConfiguration::disabledReason() const
if (mainScript().isEmpty())
return tr("No script file to execute.");
if (!QFileInfo(executable()).exists())
if (!QFileInfo::exists(executable()))
return tr("No qmlviewer or qmlscene found.");
return RunConfiguration::disabledReason();
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