diff options
author | Ken Moore <ken@ixsystems.com> | 2017-06-13 09:04:41 -0400 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2017-06-13 09:04:41 -0400 |
commit | 4a853e16010357e845a2036c676b460c8173b808 (patch) | |
tree | c3743c4e84be90e5d7d33d38159fe9e83cfa9031 /src-qt5/core/lumina-desktop/panel-plugins/taskmanager/LTaskManagerPlugin.cpp | |
parent | Add a new syntax rule set for JSON files. Seems to be working fine. (diff) | |
download | lumina-4a853e16010357e845a2036c676b460c8173b808.tar.gz lumina-4a853e16010357e845a2036c676b460c8173b808.tar.bz2 lumina-4a853e16010357e845a2036c676b460c8173b808.zip |
Make the taskmanager panel plugin icon-only when in vertical orientation mode.
Diffstat (limited to 'src-qt5/core/lumina-desktop/panel-plugins/taskmanager/LTaskManagerPlugin.cpp')
-rw-r--r-- | src-qt5/core/lumina-desktop/panel-plugins/taskmanager/LTaskManagerPlugin.cpp | 6 |
1 files changed, 3 insertions, 3 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())); |