diff options
author | Johann Latocha | 2010-08-30 17:21:30 +0200 |
---|---|---|
committer | Johann Latocha | 2010-08-30 17:21:30 +0200 |
commit | c1d871390c75e46bf2cbc71b38796b5c33e67c77 (patch) | |
tree | ed76b5490fe8357b810803c095a00e99a4f171ec /src/pvs.cpp | |
parent | PVS output errors fixed (diff) | |
download | pvs-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-x | src/pvs.cpp | 11 |
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); |