From 74265a28e11395d43ccb56de6f4fe437f5e5f8ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Tue, 19 Feb 2013 19:50:34 +0100 Subject: Fix unintended rename of mask* --- kmoon/kmoondlg.cpp | 8 ++++---- kmoon/kmoondlg.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/kmoon/kmoondlg.cpp b/kmoon/kmoondlg.cpp index d1a8105..5473a30 100644 --- a/kmoon/kmoondlg.cpp +++ b/kmoon/kmoondlg.cpp @@ -71,11 +71,11 @@ KMoonDlg::KMoonDlg(int a, bool n, bool m, TQWidget *parent, const char *name) connect(hemitoggle, TQT_SIGNAL(clicked()), TQT_SLOT(toggleHemi())); - mastdetoggle = new TQPushButton(hbox2); - mastdetoggle->setText(mask ? i18n("Switch Masking Off") : + masktoggle = new TQPushButton(hbox2); + masktoggle->setText(mask ? i18n("Switch Masking Off") : i18n("Switch Masking On")); - connect(mastdetoggle, TQT_SIGNAL(clicked()), TQT_SLOT(toggleMask())); + connect(masktoggle, TQT_SIGNAL(clicked()), TQT_SLOT(toggleMask())); topLayout->addWidget(vbox); moon = new MoonWidget(page, "preview"); @@ -107,7 +107,7 @@ void KMoonDlg::toggleHemi() { void KMoonDlg::toggleMask() { moon->setMask(!moon->mask()); mask = moon->mask(); - mastdetoggle->setText(mask ? i18n("Switch Masking Off") : + masktoggle->setText(mask ? i18n("Switch Masking Off") : i18n("Switch Masking On")); } diff --git a/kmoon/kmoondlg.h b/kmoon/kmoondlg.h index 3a5e26c..9cddb77 100644 --- a/kmoon/kmoondlg.h +++ b/kmoon/kmoondlg.h @@ -44,7 +44,7 @@ class KMoonDlg : public KDialogBase { bool north; bool mask; TQPushButton *hemitoggle; - TQPushButton *mastdetoggle; + TQPushButton *masktoggle; private slots: void help(); -- cgit v1.2.1