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

git-admin at x2go.org git-admin at x2go.org
Sat Dec 31 01:35:29 CET 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 1a02765090d218ce8842de13835b19fb4d619853
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 6b97ac8..efd233f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -400,6 +400,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.
 
   [ Bernard Cafarelli ]
   * New upstream version (4.0.5.3):
diff --git a/src/onmainwindow.cpp b/src/onmainwindow.cpp
index 3b9f7c8..3fe3742 100644
--- a/src/onmainwindow.cpp
+++ b/src/onmainwindow.cpp
@@ -8273,7 +8273,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();
@@ -9658,7 +9658,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