summaryrefslogtreecommitdiffstats
path: root/kcontrol/display
diff options
context:
space:
mode:
Diffstat (limited to 'kcontrol/display')
-rw-r--r--kcontrol/display/display.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kcontrol/display/display.cpp b/kcontrol/display/display.cpp
index d7675160e..9e3293965 100644
--- a/kcontrol/display/display.cpp
+++ b/kcontrol/display/display.cpp
@@ -85,7 +85,7 @@ void KCMDisplay::save()
void KCMDisplay::moduleChanged( bool isChanged )
{
- TQMap<KCModule*, bool>::Iterator currentModule = m_modules.find(static_cast<KCModule*>(const_cast<TQObject*>(sender())));
+ TQMap<KCModule*, bool>::Iterator currentModule = m_modules.tqfind(static_cast<KCModule*>(TQT_TQWIDGET(const_cast<TQObject*>(TQT_TQOBJECT_CONST(sender())))));
Q_ASSERT(currentModule != m_modules.end());
if (currentModule.data() == isChanged)
return;