summaryrefslogtreecommitdiffstats
path: root/src/pvs.cpp
diff options
context:
space:
mode:
authorJohann Latocha2010-08-29 15:59:33 +0200
committerJohann Latocha2010-08-29 15:59:33 +0200
commita483b1d5e98316c73c7e3080c693f1c8085e14b3 (patch)
tree31412fb99655264e2fe9f5d8c2148caa0d91b2c2 /src/pvs.cpp
parentFeature #633 (diff)
downloadpvs-a483b1d5e98316c73c7e3080c693f1c8085e14b3.tar.gz
pvs-a483b1d5e98316c73c7e3080c693f1c8085e14b3.tar.xz
pvs-a483b1d5e98316c73c7e3080c693f1c8085e14b3.zip
Bug fixed: create config-dir
Diffstat (limited to 'src/pvs.cpp')
-rwxr-xr-xsrc/pvs.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pvs.cpp b/src/pvs.cpp
index bcd2a48..20e9b3b 100755
--- a/src/pvs.cpp
+++ b/src/pvs.cpp
@@ -31,7 +31,11 @@ PVS::PVS() :
QObject()
{
if (!QFile::exists(_settings.fileName()))
+ {
+ QDir::root().mkpath(QFileInfo(_settings.fileName()).path());
QFile::copy("/etc/openslx/pvs.conf", _settings.fileName());
+ }
+
_pvsServerConnection = new PVSServerConnection(this);
_locked = false;