diff options
Diffstat (limited to 'src/corelib/io/qstandardpaths.h')
-rw-r--r-- | src/corelib/io/qstandardpaths.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/corelib/io/qstandardpaths.h b/src/corelib/io/qstandardpaths.h index d8b6d24f57..df9089ace7 100644 --- a/src/corelib/io/qstandardpaths.h +++ b/src/corelib/io/qstandardpaths.h @@ -89,7 +89,10 @@ public: static QString findExecutable(const QString &executableName, const QStringList &paths = QStringList()); - static void enableTestMode(bool testMode); +#if QT_DEPRECATED_SINCE(5, 2) + static QT_DEPRECATED void enableTestMode(bool testMode); +#endif + static void setTestModeEnabled(bool testMode); static bool isTestModeEnabled(); private: |