Commit a01146aa authored by Tobias Koenig's avatar Tobias Koenig
Browse files

Use QFileInfo::exists(f) instead of QFileInfo(f).exists()


QFileInfo::exists(f) is somewhat faster than the version which creates an temporary object.

Change-Id: I5f931a86d9dfad57d99efe04ca115422de43def9
Reviewed-by: default avatarThiago Macieira <thiago.macieira@intel.com>
parent c7a86c5e
Branches
Tags
No related merge requests found
Showing with 8 additions and 8 deletions
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