aboutsummaryrefslogtreecommitdiff
path: root/tests/IntegrationTesting.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/IntegrationTesting.h')
-rw-r--r--tests/IntegrationTesting.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/IntegrationTesting.h b/tests/IntegrationTesting.h
index 9733295e..15d45c62 100644
--- a/tests/IntegrationTesting.h
+++ b/tests/IntegrationTesting.h
@@ -27,11 +27,7 @@ class IntegrationTests
public:
static QString environmentVariable(const char *varName, const QString &defaultValue = {})
{
-#if QT_VERSION >= QT_VERSION_CHECK(5, 10, 0)
return qEnvironmentVariable(varName, defaultValue);
-#else
- return qEnvironmentVariableIsSet(varName) ? QString::fromLocal8Bit(qgetenv(varName)) : QString();
-#endif
}
static bool enabled()