[X2Go-Commits] [x2goclient] 157/217: src/onmainwindow.cpp: convert QDir object to QString for further processing.
git-admin at x2go.org
git-admin at x2go.org
Sat Aug 27 19:26:06 CEST 2016
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch bugfix/osx
in repository x2goclient.
commit 1e338d4384b10acb8d89d072721b2b5f5c8ed417
Author: Mihai Moldovan <ionic at ionic.de>
Date: Fri May 6 23:44:00 2016 +0200
src/onmainwindow.cpp: convert QDir object to QString for further processing.
---
debian/changelog | 2 ++
src/onmainwindow.cpp | 4 ++--
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 564c20f..dc703cd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -294,6 +294,8 @@ x2goclient (4.0.5.2-0x2go1) UNRELEASED; urgency=medium
- src/pulsemanager.cpp: let start () act as a wrapper and do nothing if
the PA server is already running.
- src/onmainwindow.cpp: fix compile error due to misuse of #ifdef.
+ - src/onmainwindow.cpp: convert QDir object to QString for further
+ processing.
* debian/control:
- Maintainer change in package: X2Go Developers <x2go-dev at lists.x2go.org>.
- Uploaders: add myself. Also, force a rebuild due to the changed
diff --git a/src/onmainwindow.cpp b/src/onmainwindow.cpp
index d753c14..6561915 100644
--- a/src/onmainwindow.cpp
+++ b/src/onmainwindow.cpp
@@ -5305,7 +5305,7 @@ void ONMainWindow::slotRetResumeSess ( bool result,
"/.pulse-cookie", this, SLOT ( slotPCookieReady ( bool, QString,int )));
}
#else /* !defined (Q_OS_WIN) && !defined (Q_OS_DARWIN) */
- QString cooFile = QDir::toNativeSeparators (QDir (pulseManager->get_pulse_dir () +
+ QString cooFile = QDir::toNativeSeparators (QDir (pulseManager->get_pulse_dir ().absolutePath () +
"/.pulse-cookie").absolutePath ());
QString destFile="$HOME/.x2go/C-"+
resumingSession.sessionId+
@@ -5322,7 +5322,7 @@ void ONMainWindow::slotRetResumeSess ( bool result,
sshConnection->copyFile(homeDir+"/.esd_auth",
"$HOME/.esd_auth" );
#else /* defined (Q_OS_LINUX) */
- QString cooFile = QDir::toNativeSeparators (QDir (pulseManager->get_pulse_dir () +
+ QString cooFile = QDir::toNativeSeparators (QDir (pulseManager->get_pulse_dir ().absolutePath () +
"/.esd_auth").absolutePath ());
QString destFile="$HOME/.esd_auth";
sshConnection->copyFile(cooFile,
--
Alioth's /srv/git/code.x2go.org/x2goclient.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goclient.git
More information about the x2go-commits
mailing list