summaryrefslogtreecommitdiffstats
path: root/src/corelib/io/qsavefile.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/io/qsavefile.h')
-rw-r--r--src/corelib/io/qsavefile.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/corelib/io/qsavefile.h b/src/corelib/io/qsavefile.h
index 10857c27d1..0a6af91261 100644
--- a/src/corelib/io/qsavefile.h
+++ b/src/corelib/io/qsavefile.h
@@ -84,6 +84,9 @@ protected:
private:
void close() Q_DECL_OVERRIDE;
+#if !QT_CONFIG(translation)
+ static QString tr(const char *string) { return QString::fromLatin1(string); }
+#endif
private:
Q_DISABLE_COPY(QSaveFile)