summaryrefslogtreecommitdiffstats
path: root/src/vsession.cpp
diff options
context:
space:
mode:
authorNils Schwabe2014-04-04 14:32:19 +0200
committerNils Schwabe2014-04-04 14:32:19 +0200
commitd33be4538b8bca1d96f4260b42444d46d890c55e (patch)
treecbf1ce8300d8ec90da4f98f3fc3d4afcb6afd8e9 /src/vsession.cpp
parentnt (diff)
downloadvmchooser2-d33be4538b8bca1d96f4260b42444d46d890c55e.tar.gz
vmchooser2-d33be4538b8bca1d96f4260b42444d46d890c55e.tar.xz
vmchooser2-d33be4538b8bca1d96f4260b42444d46d890c55e.zip
changed adDUSerAndHostname()
Diffstat (limited to 'src/vsession.cpp')
-rw-r--r--src/vsession.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/vsession.cpp b/src/vsession.cpp
index e8e301e..30cbb88 100644
--- a/src/vsession.cpp
+++ b/src/vsession.cpp
@@ -235,8 +235,10 @@ void VSession::addUserAndHostname() {
QString image(this->getAttribute("image_name"));
if (QFileInfo(image).isRelative()) {
// make path to image absolute
- this->addNodeWithAttribute("image_name",
+ this->addNodeWithAttribute("image_path",
this->baseDirPath_ + "/" + image);
+ } else {
+ this->addNodeWithAttribute("image_path", image);
}
// insert computername as the first child of <eintrag>