summaryrefslogtreecommitdiffstats
path: root/src/pvsgui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/pvsgui.cpp')
-rw-r--r--src/pvsgui.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pvsgui.cpp b/src/pvsgui.cpp
index 41a79b9..747d843 100644
--- a/src/pvsgui.cpp
+++ b/src/pvsgui.cpp
@@ -25,7 +25,10 @@ PVSGUI::PVSGUI(QWidget *parent) :
setupUi(this);
if (!QFile::exists(_settings.fileName()))
+ {
+ QDir::root().mkpath(QFileInfo(_settings.fileName()).path());
QFile::copy("/etc/openslx/pvsgui.conf", _settings.fileName());
+ }
_menu = new QMenu(this);
_hostMenu = new QMenu(tr("Connect"), this);