aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorq5sys <jt@obs-sec.com>2017-06-13 14:24:45 -0400
committerq5sys <jt@obs-sec.com>2017-06-13 14:24:45 -0400
commitfeec367f5e5c423336edddb687772ce68cd6c706 (patch)
tree2e036ffb1ee2fd75a2310542b20c9a3634531c45
parentfix dirtreepane bugs and deactive from menu (diff)
parentMerge branch 'master' of github.com:trueos/lumina (diff)
downloadlumina-feec367f5e5c423336edddb687772ce68cd6c706.tar.gz
lumina-feec367f5e5c423336edddb687772ce68cd6c706.tar.bz2
lumina-feec367f5e5c423336edddb687772ce68cd6c706.zip
Merge branch 'master' of http://github.com/trueos/lumina
-rw-r--r--src-qt5/core/lumina-desktop/panel-plugins/taskmanager/LTaskManagerPlugin.cpp6
-rw-r--r--src-qt5/core/lumina-desktop/panel-plugins/taskmanager/LTaskManagerPlugin.h4
2 files changed, 5 insertions, 5 deletions
diff --git a/src-qt5/core/lumina-desktop/panel-plugins/taskmanager/LTaskManagerPlugin.cpp b/src-qt5/core/lumina-desktop/panel-plugins/taskmanager/LTaskManagerPlugin.cpp
index c8e24702..d1647685 100644
--- a/src-qt5/core/lumina-desktop/panel-plugins/taskmanager/LTaskManagerPlugin.cpp
+++ b/src-qt5/core/lumina-desktop/panel-plugins/taskmanager/LTaskManagerPlugin.cpp
@@ -22,7 +22,7 @@ LTaskManagerPlugin::LTaskManagerPlugin(QWidget *parent, QString id, bool horizon
}
LTaskManagerPlugin::~LTaskManagerPlugin(){
-
+
}
//==============
@@ -31,7 +31,7 @@ LTaskManagerPlugin::~LTaskManagerPlugin(){
void LTaskManagerPlugin::UpdateButtons(){
updating = QDateTime::currentDateTime(); //global time stamp
QDateTime ctime = updating; //current thread time stamp
-
+
//Get the current window list
QList<WId> winlist = LSession::handle()->XCB->WindowList();
// Ignore the windows which don't want to be listed
@@ -119,7 +119,7 @@ void LTaskManagerPlugin::UpdateButtons(){
but->setToolButtonStyle(Qt::ToolButtonTextBesideIcon);
}else{
but->setIconSize(QSize(this->width(), this->width()));
- but->setToolButtonStyle(Qt::ToolButtonTextUnderIcon);
+ but->setToolButtonStyle(Qt::ToolButtonIconOnly);
}
this->layout()->addWidget(but);
connect(but, SIGNAL(MenuClosed()), this, SIGNAL(MenuClosed()));
diff --git a/src-qt5/core/lumina-desktop/panel-plugins/taskmanager/LTaskManagerPlugin.h b/src-qt5/core/lumina-desktop/panel-plugins/taskmanager/LTaskManagerPlugin.h
index dabf5a90..0d6d623c 100644
--- a/src-qt5/core/lumina-desktop/panel-plugins/taskmanager/LTaskManagerPlugin.h
+++ b/src-qt5/core/lumina-desktop/panel-plugins/taskmanager/LTaskManagerPlugin.h
@@ -65,8 +65,8 @@ public slots:
QSize sz(this->width(), this->width());
// QSize sz(this->width(), this->height()); //we want to increase the width but not the height of the icons
for(int i=0; i<BUTTONS.length(); i++){
- BUTTONS[i]->setToolButtonStyle(Qt::ToolButtonTextUnderIcon);
-// BUTTONS[i]->setToolButtonStyle(Qt::ToolButtonTextBesideIcon);
+ BUTTONS[i]->setToolButtonStyle(Qt::ToolButtonIconOnly);
+// BUTTONS[i]->setToolButtonStyle(Qt::ToolButtonTextBesideIcon);
// if( dpi = 196 ){ int vertsizeicon = ; BUTTONS[i]->setIconSize(vertsizeicon);}
// elseif( dpi = 144 ) { int vertsizeicon = ; BUTTONS[i]->setIconSize(vertsizeicon);}
// elseif( dpi = 96 ) { int vertsizeicon = ; BUTTONS[i]->setIconSize(vertsizeicon);}
bgstack15