aboutsummaryrefslogtreecommitdiff
path: root/lumina-desktop/panel-plugins/systemtray/TrayIcon.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lumina-desktop/panel-plugins/systemtray/TrayIcon.cpp')
-rw-r--r--lumina-desktop/panel-plugins/systemtray/TrayIcon.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/lumina-desktop/panel-plugins/systemtray/TrayIcon.cpp b/lumina-desktop/panel-plugins/systemtray/TrayIcon.cpp
index 78d90524..1b843e3e 100644
--- a/lumina-desktop/panel-plugins/systemtray/TrayIcon.cpp
+++ b/lumina-desktop/panel-plugins/systemtray/TrayIcon.cpp
@@ -36,10 +36,10 @@ void TrayIcon::attachApp(WId id){
dmgID = LSession::handle()->XCB->EmbedWindow(AID, IID);
if( dmgID != 0 ){
LSession::handle()->XCB->RestoreWindow(AID); //make it visible
- qDebug() << "New System Tray App:" << AID;
+ //qDebug() << "New System Tray App:" << AID;
QTimer::singleShot(1000, this, SLOT(updateIcon()) );
}else{
- qWarning() << "Could not Embed Tray Application:" << AID;
+ //qWarning() << "Could not Embed Tray Application:" << AID;
IID = 0;
AID = 0;
}
@@ -55,15 +55,15 @@ void TrayIcon::setSizeSquare(int side){
// ==============
void TrayIcon::detachApp(){
if(AID==0){ return; } //already detached
- qDebug() << "Detach App:" << AID;
+ //qDebug() << "Detach App:" << AID;
//Temporarily move the AID, so that internal slots do not auto-run
WId tmp = AID;
AID = 0;
//Now detach the application window and clean up
- qDebug() << " - Unembed";
+ //qDebug() << " - Unembed";
//WIN->setParent(0); //Reset parentage back to the main stack
LSession::handle()->XCB->UnembedWindow(tmp);
- qDebug() << " - finished app:" << tmp;
+ //qDebug() << " - finished app:" << tmp;
IID = 0;
}
bgstack15