[X2Go-Commits] [x2goclient] 04/04: src/onmainwindow.cpp: fix up a few debug strings.

git-admin at x2go.org git-admin at x2go.org
Fri Sep 23 03:22:51 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 b3b2618ad529d6261e62557e1c96252e34aa9cc9
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Fri Sep 23 03:22:29 2016 +0200

    src/onmainwindow.cpp: fix up a few debug strings.
---
 debian/changelog     |    1 +
 src/onmainwindow.cpp |    4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 08d3d80..294ab97 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -394,6 +394,7 @@ x2goclient (4.0.5.3-0x2go1) UNRELEASED; urgency=medium
       generate a user key manually previously.
     - src/onmainwindow.cpp: add more error handling to generateKey () and fix
       up a broken error-handling section.
+    - src/onmainwindow.cpp: fix up a few debug strings.
 
  -- X2Go Release Manager <git-admin at x2go.org>  Mon, 19 Sep 2016 09:07:07 +0200
 
diff --git a/src/onmainwindow.cpp b/src/onmainwindow.cpp
index 15274ba..7d70eb1 100644
--- a/src/onmainwindow.cpp
+++ b/src/onmainwindow.cpp
@@ -8250,7 +8250,7 @@ void ONMainWindow::slotRetExportDir ( bool result,QString output,
                                 QMessageBox::NoButton );
     }
     QFile file ( key+".pub" );
-    x2goDebug<<"Deactivating public key from "<<key<<".pub again."<<endl;
+    x2goDebug << "Deactivating public key from " << QString (key + ".pub") << " again.";
     if ( !file.open ( QIODevice::ReadOnly | QIODevice::Text ) )
     {
         printSshDError_noExportPubKey();
@@ -9635,7 +9635,7 @@ void ONMainWindow::startX2goMount()
     out << line;
     authorized_keys_file.close ();
 
-    x2goDebug << "Temporarily activated public key from file " << fsExportKey << ".pub.";
+    x2goDebug << "Temporarily activated public key from file " << QString (fsExportKey + ".pub") << ".";
 
     QString passwd=getCurrentPass();
     QString user=getCurrentUname();

--
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