diff options
author | Arnar Mar Sig <antab@antab.is> | 2017-02-02 19:06:09 +0000 |
---|---|---|
committer | Arnar Mar Sig <antab@antab.is> | 2017-02-02 19:06:09 +0000 |
commit | c6e60d06cb7b257eb5382dea53a72fcc83b4d997 (patch) | |
tree | 365871191ba599f57427f7ad8d6e4e0f3e0b7eed /src-qt5/core | |
parent | Remove calls to setToolButtonStyle() from LTaskButton. (diff) | |
download | lumina-c6e60d06cb7b257eb5382dea53a72fcc83b4d997.tar.gz lumina-c6e60d06cb7b257eb5382dea53a72fcc83b4d997.tar.bz2 lumina-c6e60d06cb7b257eb5382dea53a72fcc83b4d997.zip |
Add missing call to this->setText().
Diffstat (limited to 'src-qt5/core')
-rw-r--r-- | src-qt5/core/lumina-desktop/panel-plugins/taskmanager/LTaskButton.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src-qt5/core/lumina-desktop/panel-plugins/taskmanager/LTaskButton.cpp b/src-qt5/core/lumina-desktop/panel-plugins/taskmanager/LTaskButton.cpp index 8e2b1377..ab4e786f 100644 --- a/src-qt5/core/lumina-desktop/panel-plugins/taskmanager/LTaskButton.cpp +++ b/src-qt5/core/lumina-desktop/panel-plugins/taskmanager/LTaskButton.cpp @@ -133,7 +133,7 @@ void LTaskButton::UpdateButton(){ //multiple windows this->setPopupMode(QToolButton::InstantPopup); this->setMenu(winMenu); - if(noicon || showText){ "("+QString::number(WINLIST.length())+") "+cname; } + if(noicon || showText){ this->setText("("+QString::number(WINLIST.length())+") "+cname); } else{ this->setText("("+QString::number(WINLIST.length())+")"); } } this->setState(showstate); //Make sure this is after the button setup so that it properly sets the margins/etc |