diff options
| author | Linus Jahn <lnj@kaidan.im> | 2023-01-31 19:55:13 +0100 |
|---|---|---|
| committer | Linus Jahn <lnj@kaidan.im> | 2023-01-31 19:55:42 +0100 |
| commit | 1a79303169e245891a911174b6f1fa87fd177597 (patch) | |
| tree | fe9d1ce5bae58d8a51255370257b3c0c3f699e73 /tests/IntegrationTesting.h | |
| parent | a97ae4c0fa96666326c29e7bacad92c8082598ae (diff) | |
| download | qxmpp-1a79303169e245891a911174b6f1fa87fd177597.tar.gz | |
Remove Qt < 5.15 compat code
Diffstat (limited to 'tests/IntegrationTesting.h')
| -rw-r--r-- | tests/IntegrationTesting.h | 4 |
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() |
