diff options
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); |
