summaryrefslogtreecommitdiff
path: root/tests/arthur
diff options
context:
space:
mode:
authoraavit <qt-info@nokia.com>2010-10-25 15:51:33 +0200
committeraavit <qt-info@nokia.com>2010-10-25 15:51:33 +0200
commit8188942adf7745923d058cdad025af2054b8e5c8 (patch)
tree0ec4e3d728923cebb88787a4a2c58c51c9ab9614 /tests/arthur
parent3f0ff810e448253e6da0c4716e6ed1819786349f (diff)
downloadqt4-tools-8188942adf7745923d058cdad025af2054b8e5c8.tar.gz
Another change for running on actual server
Diffstat (limited to 'tests/arthur')
-rw-r--r--tests/arthur/baselineserver/src/baselineserver.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/tests/arthur/baselineserver/src/baselineserver.cpp b/tests/arthur/baselineserver/src/baselineserver.cpp
index bef6e412ed..1e241c1d97 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;
}