summaryrefslogtreecommitdiff
path: root/src/multimedia/qmediastoragelocation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/multimedia/qmediastoragelocation.cpp')
-rw-r--r--src/multimedia/qmediastoragelocation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/multimedia/qmediastoragelocation.cpp b/src/multimedia/qmediastoragelocation.cpp
index 04aa79758..7bd1e84f4 100644
--- a/src/multimedia/qmediastoragelocation.cpp
+++ b/src/multimedia/qmediastoragelocation.cpp
@@ -131,7 +131,7 @@ QString QMediaStorageLocation::generateFileName(const QString &prefix,
.arg(extension);
const QString path = dir.absoluteFilePath(name);
- if (!QFileInfo(path).exists()) {
+ if (!QFileInfo::exists(path)) {
m_lastUsedIndex[lastMediaKey] = lastMediaIndex + 1;
return path;
}