summaryrefslogtreecommitdiffstats
path: root/kmymoney2/widgets/register.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/widgets/register.cpp')
-rw-r--r--kmymoney2/widgets/register.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kmymoney2/widgets/register.cpp b/kmymoney2/widgets/register.cpp
index 79293e1..98303b1 100644
--- a/kmymoney2/widgets/register.cpp
+++ b/kmymoney2/widgets/register.cpp
@@ -1952,7 +1952,7 @@ void Register::removeEditWidgets(TQMap<TQString, TQWidget*>& editWidgets)
// remove pointers from map
TQMap<TQString, TQWidget*>::iterator it;
for(it = editWidgets.begin(); it != editWidgets.end(); ) {
- if((*it)->tqparentWidget() == this) {
+ if((*it)->parentWidget() == this) {
editWidgets.remove(it);
it = editWidgets.begin();
} else