diff options
author | aavit <qt-info@nokia.com> | 2010-10-25 13:51:33 (GMT) |
---|---|---|
committer | aavit <qt-info@nokia.com> | 2010-10-25 13:51:33 (GMT) |
commit | 8188942adf7745923d058cdad025af2054b8e5c8 (patch) | |
tree | 0ec4e3d728923cebb88787a4a2c58c51c9ab9614 /tests/arthur | |
parent | 3f0ff810e448253e6da0c4716e6ed1819786349f (diff) | |
download | Qt-8188942adf7745923d058cdad025af2054b8e5c8.zip Qt-8188942adf7745923d058cdad025af2054b8e5c8.tar.gz Qt-8188942adf7745923d058cdad025af2054b8e5c8.tar.bz2 |
Another change for running on actual server
Diffstat (limited to 'tests/arthur')
-rw-r--r-- | tests/arthur/baselineserver/src/baselineserver.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/tests/arthur/baselineserver/src/baselineserver.cpp b/tests/arthur/baselineserver/src/baselineserver.cpp index bef6e41..1e241c1 100644 --- a/tests/arthur/baselineserver/src/baselineserver.cpp +++ b/tests/arthur/baselineserver/src/baselineserver.cpp @@ -24,13 +24,10 @@ QString BaselineServer::storagePath() { if (storage.isEmpty()) { QByteArray envDir = qgetenv("QT_LANCELOT_DIR"); - if (!envDir.isEmpty()) { + if (!envDir.isEmpty()) storage = QLS(envDir.append('/')); - } else { - QDir dir(QCoreApplication::applicationDirPath()); - dir.cdUp(); - storage = dir.path() + QLS("/storage/"); - } + else + storage = QLS("/var/www/"); } return storage; } |