[X2Go-Commits] [x2goclient] 56/87: sessionbuttons/userbuttons: add some debugging output to see what file path is being used as a pixmap (user photo/session icon.)
git-admin at x2go.org
git-admin at x2go.org
Wed Mar 4 22:14:46 CET 2015
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch feature/cleanup
in repository x2goclient.
commit 537eb40a1118fc2a14b44d46575a2f059c25131b
Author: Mihai Moldovan <ionic at ionic.de>
Date: Sat Feb 14 23:19:07 2015 +0100
sessionbuttons/userbuttons: add some debugging output to see what file path is being used as a pixmap (user photo/session icon.)
---
debian/changelog | 2 ++
src/onmainwindow.cpp | 1 +
src/sessionbutton.cpp | 1 +
3 files changed, 4 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 3be5f91..a77b4db 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -219,6 +219,8 @@ x2goclient (4.0.3.2-0x2go1) unstable; urgency=medium
- Work around another bug in qmake and copy icon "manually".
- Define wrap_legacy_resources() function and use it to wrap legacy
resource locations stored in old session config files.
+ - Add some debugging output to sessionbuttons/userbutton to see what file
+ path is being used as a pixmap (user photo/session icon.)
-- X2Go Release Manager <git-admin at x2go.org> Thu, 19 Feb 2015 12:49:22 +0100
diff --git a/src/onmainwindow.cpp b/src/onmainwindow.cpp
index 1d03927..bdf2a55 100644
--- a/src/onmainwindow.cpp
+++ b/src/onmainwindow.cpp
@@ -2599,6 +2599,7 @@ void ONMainWindow::slotSelectedFromList ( SessionButton* session )
selectedCommand=command.split("/").last();
command=transAppName ( command );
login->setText ( userName );
+ x2goDebug << "creating QPixmap with session icon: '" << sessIcon << "'.";
QPixmap pix ( sessIcon );
if ( !miniMode )
{
diff --git a/src/sessionbutton.cpp b/src/sessionbutton.cpp
index 10bf4d8..5690323 100644
--- a/src/sessionbutton.cpp
+++ b/src/sessionbutton.cpp
@@ -317,6 +317,7 @@ void SessionButton::redraw()
sessIcon = expandHome(sessIcon);
QPixmap* pix;
+ x2goDebug << "creating QPixmap with session icon: '" << sessIcon.toAscii () << "'.";
if (!par->brokerMode || sessIcon == ":/img/icons/128x128/x2gosession.png")
pix=new QPixmap( sessIcon );
else
--
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