From c6e60d06cb7b257eb5382dea53a72fcc83b4d997 Mon Sep 17 00:00:00 2001 From: Arnar Mar Sig Date: Thu, 2 Feb 2017 19:06:09 +0000 Subject: Add missing call to this->setText(). --- src-qt5/core/lumina-desktop/panel-plugins/taskmanager/LTaskButton.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit