From f45d63c69769cffd0b7509c4b96fcdee21e41bde Mon Sep 17 00:00:00 2001 From: Lars Bisballe Jensen Date: Mon, 17 Oct 2011 11:59:07 +0200 Subject: no need to setText on buttons --- client/macrodrawer.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'client') diff --git a/client/macrodrawer.cc b/client/macrodrawer.cc index 648f0a6..343d5d1 100644 --- a/client/macrodrawer.cc +++ b/client/macrodrawer.cc @@ -105,14 +105,14 @@ void MacroDrawer::activationChange(bool active) // Set padlock icon on button. if(button) { button->setIcon(QPixmap(":icons/padlock.png")); - button->setText(""); + //button->setText(""); } } else { // Clear padlock icon on button if(button) { button->setIcon(QPixmap()); - button->setText(""); + //button->setText(""); } } -- cgit v1.2.3