aboutsummaryrefslogtreecommitdiff
path: root/lumina-desktop/panel-plugins/systemtray/TrayIcon.cpp
diff options
context:
space:
mode:
authorKen Moore <ken@pcbsd.org>2015-04-25 15:57:18 -0400
committerKen Moore <ken@pcbsd.org>2015-04-25 15:57:18 -0400
commit3f3300e746224a7768cee4b3e7b7634a3d033f39 (patch)
tree0f5f41feec6167e0af1e0d680f1c9fbcf2abb835 /lumina-desktop/panel-plugins/systemtray/TrayIcon.cpp
parentFix another bug with the new panel/window activation switcher: do *not* re-ac... (diff)
downloadlumina-3f3300e746224a7768cee4b3e7b7634a3d033f39.tar.gz
lumina-3f3300e746224a7768cee4b3e7b7634a3d033f39.tar.bz2
lumina-3f3300e746224a7768cee4b3e7b7634a3d033f39.zip
Add (but disable by default) some additional debuggin information. Also turn off the debugging for the session/desktop/panel classes by default.
Diffstat (limited to 'lumina-desktop/panel-plugins/systemtray/TrayIcon.cpp')
-rw-r--r--lumina-desktop/panel-plugins/systemtray/TrayIcon.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lumina-desktop/panel-plugins/systemtray/TrayIcon.cpp b/lumina-desktop/panel-plugins/systemtray/TrayIcon.cpp
index a35db4d7..e9e45872 100644
--- a/lumina-desktop/panel-plugins/systemtray/TrayIcon.cpp
+++ b/lumina-desktop/panel-plugins/systemtray/TrayIcon.cpp
@@ -110,10 +110,10 @@ void TrayIcon::paintEvent(QPaintEvent *event){
//qDebug() << " - Pix size:" << pix.size().width() << pix.size().height();
//qDebug() << " - Geom:" << this->geometry().x() << this->geometry().y() << this->geometry().width() << this->geometry().height();
if(!pix.isNull()){
- if(this->size() != pix.size()){ QTimer::singleShot(10, this, SLOT(updateIcon())); qDebug() << "-- Icon size mismatch"; }
+ if(this->size() != pix.size()){ QTimer::singleShot(10, this, SLOT(updateIcon())); }
painter.drawPixmap(0,0,this->width(), this->height(), pix.scaled(this->size(), Qt::KeepAspectRatio, Qt::SmoothTransformation) );
}else{
- qDebug() << " - - No Tray Icon/Image found!" << "ID:" << AID;
+ qWarning() << " - - No Tray Icon/Image found!" << "ID:" << AID;
}
//qDebug() << " - Done";
}
bgstack15