summaryrefslogtreecommitdiffstats
path: root/chalk/ui/kis_custom_palette.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'chalk/ui/kis_custom_palette.cpp')
-rw-r--r--chalk/ui/kis_custom_palette.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/chalk/ui/kis_custom_palette.cpp b/chalk/ui/kis_custom_palette.cpp
index 631b9abe..8fb2a9db 100644
--- a/chalk/ui/kis_custom_palette.cpp
+++ b/chalk/ui/kis_custom_palette.cpp
@@ -91,7 +91,7 @@ void KisCustomPalette::slotAddNew() {
return;
bool ok;
- TQRegExpValidator validator(TQRegExp(".*"), TQT_TQOBJECT(this));
+ TQRegExpValidator validator(TQRegExp(".*"), this);
TQString name = KInputDialog::getText(i18n("Add Color to Palette"),
i18n("Color name (optional):"),
TQString(), &ok,