aboutsummaryrefslogtreecommitdiff
path: root/lumina-desktop/panel-plugins/systemtray
diff options
context:
space:
mode:
Diffstat (limited to 'lumina-desktop/panel-plugins/systemtray')
-rw-r--r--lumina-desktop/panel-plugins/systemtray/LSysTray.cpp4
-rw-r--r--lumina-desktop/panel-plugins/systemtray/TrayIcon.cpp6
2 files changed, 5 insertions, 5 deletions
diff --git a/lumina-desktop/panel-plugins/systemtray/LSysTray.cpp b/lumina-desktop/panel-plugins/systemtray/LSysTray.cpp
index 05c601e1..2befba0d 100644
--- a/lumina-desktop/panel-plugins/systemtray/LSysTray.cpp
+++ b/lumina-desktop/panel-plugins/systemtray/LSysTray.cpp
@@ -149,7 +149,7 @@ void LSysTray::UpdateTrayWindow(WId win){
if(!isRunning || stopping || checking){ return; }
for(int i=0; i<trayIcons.length(); i++){
if(trayIcons[i]->appID()==win){
- qDebug() << "System Tray: Update Window " << win;
+ //qDebug() << "System Tray: Update Window " << win;
trayIcons[i]->repaint(); //don't use update() because we need an instant repaint (not a cached version)
//QTimer::singleShot(10, trayIcons[i], SLOT(repaint()) ); //re-paint in 10ms (give it a moment to settle)
//QTimer::singleShot(1000, trayIcons[i], SLOT(update()) );
@@ -157,7 +157,7 @@ void LSysTray::UpdateTrayWindow(WId win){
}
}
//Could not find tray in the list, run the checkall routine to make sure we are not missing any
- qDebug() << "System Tray: Missing Window - check all";
+ //qDebug() << "System Tray: Missing Window - check all";
QTimer::singleShot(0,this, SLOT(checkAll()) );
}
diff --git a/lumina-desktop/panel-plugins/systemtray/TrayIcon.cpp b/lumina-desktop/panel-plugins/systemtray/TrayIcon.cpp
index a8117b84..78d90524 100644
--- a/lumina-desktop/panel-plugins/systemtray/TrayIcon.cpp
+++ b/lumina-desktop/panel-plugins/systemtray/TrayIcon.cpp
@@ -46,7 +46,7 @@ void TrayIcon::attachApp(WId id){
}
void TrayIcon::setSizeSquare(int side){
- qDebug() << " Set Fixes Systray size:" << side;
+ //qDebug() << " Set Fixed Systray size:" << side;
this->setFixedSize( QSize(side, side) );
}
@@ -107,8 +107,8 @@ void TrayIcon::paintEvent(QPaintEvent *event){
qDebug() << "Null Qt Pixmap - Use XCB grab image:";
pix = LSession::handle()->XCB->TrayImage(AID);
}*/
- qDebug() << " - Pix size:" << pix.size().width() << pix.size().height();
- qDebug() << " - Geom:" << this->geometry().x() << this->geometry().y() << this->geometry().width() << this->geometry().height();
+ //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())); }
painter.drawPixmap(0,0,this->width(), this->height(), pix.scaled(this->size(), Qt::KeepAspectRatio, Qt::SmoothTransformation) );
bgstack15