summaryrefslogtreecommitdiffstats
path: root/src/corelib/io/qstandardpaths_unix.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/io/qstandardpaths_unix.cpp')
-rw-r--r--src/corelib/io/qstandardpaths_unix.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/corelib/io/qstandardpaths_unix.cpp b/src/corelib/io/qstandardpaths_unix.cpp
index 220e5d6c17..f44ccd1c93 100644
--- a/src/corelib/io/qstandardpaths_unix.cpp
+++ b/src/corelib/io/qstandardpaths_unix.cpp
@@ -70,6 +70,11 @@ void QStandardPaths::enableTestMode(bool testMode)
qsp_testMode = testMode;
}
+bool QStandardPaths::isTestModeEnabled()
+{
+ return qsp_testMode;
+}
+
QString QStandardPaths::writableLocation(StandardLocation type)
{
switch (type) {