summaryrefslogtreecommitdiffstats
path: root/src/pvs.cpp
diff options
context:
space:
mode:
authorJohann Latocha2010-08-30 17:21:30 +0200
committerJohann Latocha2010-08-30 17:21:30 +0200
commitc1d871390c75e46bf2cbc71b38796b5c33e67c77 (patch)
treeed76b5490fe8357b810803c095a00e99a4f171ec /src/pvs.cpp
parentPVS output errors fixed (diff)
downloadpvs-c1d871390c75e46bf2cbc71b38796b5c33e67c77.tar.gz
pvs-c1d871390c75e46bf2cbc71b38796b5c33e67c77.tar.xz
pvs-c1d871390c75e46bf2cbc71b38796b5c33e67c77.zip
Defect #644 and cleanout some old code
Diffstat (limited to 'src/pvs.cpp')
-rwxr-xr-xsrc/pvs.cpp11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/pvs.cpp b/src/pvs.cpp
index 61df049..07b9005 100755
--- a/src/pvs.cpp
+++ b/src/pvs.cpp
@@ -30,13 +30,6 @@ extern PVS *mainClient;
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;
_vncAllowed = false;
@@ -61,9 +54,9 @@ PVS::PVS() :
new PvsAdaptor(this);
QDBusConnection dbus = QDBusConnection::sessionBus();
if (!dbus.registerObject("/", this))
- qDebug("[ERROR] DBus: Could not register object");
+ printf("[ERROR] DBus: Could not register object\n");
if (!dbus.registerService("org.openslx.pvs"))
- qDebug("[ERROR] DBus: Could not register service");
+ printf("[ERROR] DBus: Could not register service\n");
_sdClient = new PVSServiceDiscovery(this);