aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/corelib/tools/persistence.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/corelib/tools/persistence.cpp')
-rw-r--r--src/lib/corelib/tools/persistence.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/corelib/tools/persistence.cpp b/src/lib/corelib/tools/persistence.cpp
index 5591c9761..dfa7fb683 100644
--- a/src/lib/corelib/tools/persistence.cpp
+++ b/src/lib/corelib/tools/persistence.cpp
@@ -84,7 +84,7 @@ void PersistentPool::load(const QString &filePath)
m_stream.setDevice(nullptr);
throw ErrorInfo(Tr::tr("Cannot use stored build graph at '%1': Incompatible file format. "
"Expected magic token '%2', got '%3'.")
- .arg(filePath, QString::fromLatin1(QBS_PERSISTENCE_MAGIC),
+ .arg(filePath, QLatin1String(QBS_PERSISTENCE_MAGIC),
QString::fromLatin1(magic)));
}