summaryrefslogtreecommitdiffstats
path: root/kteatime
diff options
context:
space:
mode:
Diffstat (limited to 'kteatime')
-rw-r--r--kteatime/toplevel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kteatime/toplevel.cpp b/kteatime/toplevel.cpp
index 325fe13..6ded50e 100644
--- a/kteatime/toplevel.cpp
+++ b/kteatime/toplevel.cpp
@@ -581,9 +581,9 @@ void TopLevel::nameEditTextChanged(const TQString& newText) {
/* this method also gets called when the last TeaListItem has been deleted
* (to clear the name edit widget), so check for empty listbox */
if (listbox->currentItem() != NULL) {
- listbox->blockSignals(TRUE);
+ listbox->blockSignals(true);
static_cast<TeaListItem *>(listbox->currentItem())->setName(newText);
- listbox->blockSignals(FALSE);
+ listbox->blockSignals(false);
}
}