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