diff options
author | Nils Schwabe | 2014-04-04 14:32:19 +0200 |
---|---|---|
committer | Nils Schwabe | 2014-04-04 14:32:19 +0200 |
commit | d33be4538b8bca1d96f4260b42444d46d890c55e (patch) | |
tree | cbf1ce8300d8ec90da4f98f3fc3d4afcb6afd8e9 /src/vsession.cpp | |
parent | nt (diff) | |
download | vmchooser2-d33be4538b8bca1d96f4260b42444d46d890c55e.tar.gz vmchooser2-d33be4538b8bca1d96f4260b42444d46d890c55e.tar.xz vmchooser2-d33be4538b8bca1d96f4260b42444d46d890c55e.zip |
changed adDUSerAndHostname()
Diffstat (limited to 'src/vsession.cpp')
-rw-r--r-- | src/vsession.cpp | 4 |
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> |