summaryrefslogtreecommitdiffstats
path: root/kmoon/kmoondlg.cpp
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2013-02-19 19:50:34 +0100
committerSlávek Banko <slavek.banko@axis.cz>2013-02-19 19:50:34 +0100
commit74265a28e11395d43ccb56de6f4fe437f5e5f8ce (patch)
tree677cf350705ee13c69b840ba499ed8f6f6dea29a /kmoon/kmoondlg.cpp
parent12b6ef5027c7df674bcf7c12090d7a7d58cfebcc (diff)
downloadtdetoys-74265a28e11395d43ccb56de6f4fe437f5e5f8ce.tar.gz
tdetoys-74265a28e11395d43ccb56de6f4fe437f5e5f8ce.zip
Fix unintended rename of mask*
Diffstat (limited to 'kmoon/kmoondlg.cpp')
-rw-r--r--kmoon/kmoondlg.cpp8
1 files changed, 4 insertions, 4 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"));
}