summaryrefslogtreecommitdiffstats
path: root/src/libs/ifwtools/binarycreator.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/ifwtools/binarycreator.h')
-rw-r--r--src/libs/ifwtools/binarycreator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/ifwtools/binarycreator.h b/src/libs/ifwtools/binarycreator.h
index 779725660..387195742 100644
--- a/src/libs/ifwtools/binarycreator.h
+++ b/src/libs/ifwtools/binarycreator.h
@@ -77,7 +77,7 @@ public:
explicit BundleBackup(const QString &bundle = QString())
: bundle(bundle)
{
- if (!bundle.isEmpty() && QFileInfo(bundle).exists()) {
+ if (!bundle.isEmpty() && QFileInfo::exists(bundle)) {
backup = QInstaller::generateTemporaryFileName(bundle);
QFile::rename(bundle, backup);
}