summaryrefslogtreecommitdiffstats
path: root/src/pvs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/pvs.cpp')
-rwxr-xr-xsrc/pvs.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pvs.cpp b/src/pvs.cpp
index 21b7bdf..bcd2a48 100755
--- a/src/pvs.cpp
+++ b/src/pvs.cpp
@@ -30,6 +30,9 @@ extern PVS *mainClient;
PVS::PVS() :
QObject()
{
+ if (!QFile::exists(_settings.fileName()))
+ QFile::copy("/etc/openslx/pvs.conf", _settings.fileName());
+
_pvsServerConnection = new PVSServerConnection(this);
_locked = false;
_vncAllowed = false;