aboutsummaryrefslogtreecommitdiff
path: root/lumina-desktop/panel-plugins/systemtray/TrayIcon.cpp
diff options
context:
space:
mode:
authorKen Moore <moorekou@gmail.com>2015-10-03 14:28:21 -0400
committerKen Moore <moorekou@gmail.com>2015-10-03 14:28:21 -0400
commit5beb2730a9e8230d2377ea89e9728504ea88de9c (patch)
tree417339b654f781d7909e5d43f47fd6ce46567a4e /lumina-desktop/panel-plugins/systemtray/TrayIcon.cpp
parentFix the battery icon used in the new start menu plugin. (diff)
downloadlumina-5beb2730a9e8230d2377ea89e9728504ea88de9c.tar.gz
lumina-5beb2730a9e8230d2377ea89e9728504ea88de9c.tar.bz2
lumina-5beb2730a9e8230d2377ea89e9728504ea88de9c.zip
Add quicklaunch ability to the systemstart panel plugin.
Also turn off some debuging information from the system tray plugin.
Diffstat (limited to 'lumina-desktop/panel-plugins/systemtray/TrayIcon.cpp')
-rw-r--r--lumina-desktop/panel-plugins/systemtray/TrayIcon.cpp6
1 files changed, 3 insertions, 3 deletions
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