diff options
Diffstat (limited to 'src/corelib')
-rw-r--r-- | src/corelib/io/qstandardpaths.cpp | 9 | ||||
-rw-r--r-- | src/corelib/io/qstandardpaths.h | 5 |
2 files changed, 2 insertions, 12 deletions
diff --git a/src/corelib/io/qstandardpaths.cpp b/src/corelib/io/qstandardpaths.cpp index d95c9015cc..dff113de1e 100644 --- a/src/corelib/io/qstandardpaths.cpp +++ b/src/corelib/io/qstandardpaths.cpp @@ -1,6 +1,6 @@ /**************************************************************************** ** -** Copyright (C) 2016 The Qt Company Ltd. +** Copyright (C) 2020 The Qt Company Ltd. ** Copyright (C) 2016 Intel Corporation. ** Contact: https://www.qt.io/licensing/ ** @@ -601,13 +601,6 @@ QString QStandardPaths::displayName(StandardLocation type) static bool qsp_testMode = false; -#if QT_DEPRECATED_SINCE(5, 2) -void QStandardPaths::enableTestMode(bool testMode) -{ - qsp_testMode = testMode; -} -#endif - void QStandardPaths::setTestModeEnabled(bool testMode) { qsp_testMode = testMode; diff --git a/src/corelib/io/qstandardpaths.h b/src/corelib/io/qstandardpaths.h index df76d73eae..cd9cb22bd2 100644 --- a/src/corelib/io/qstandardpaths.h +++ b/src/corelib/io/qstandardpaths.h @@ -1,6 +1,6 @@ /**************************************************************************** ** -** Copyright (C) 2016 The Qt Company Ltd. +** Copyright (C) 2020 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the QtCore module of the Qt Toolkit. @@ -96,9 +96,6 @@ public: static QString findExecutable(const QString &executableName, const QStringList &paths = QStringList()); -#if QT_DEPRECATED_SINCE(5, 2) - static QT_DEPRECATED void enableTestMode(bool testMode); -#endif static void setTestModeEnabled(bool testMode); static bool isTestModeEnabled(); |