summaryrefslogtreecommitdiffstats
path: root/kdmlib/kgreet_classic.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdmlib/kgreet_classic.cpp')
-rw-r--r--kdmlib/kgreet_classic.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kdmlib/kgreet_classic.cpp b/kdmlib/kgreet_classic.cpp
index 8117429a8..af6d80172 100644
--- a/kdmlib/kgreet_classic.cpp
+++ b/kdmlib/kgreet_classic.cpp
@@ -167,7 +167,7 @@ KClassicGreeter::~KClassicGreeter()
delete passwdEdit;
return;
}
- TQLayoutIterator it = TQT_TQLAYOUT(static_cast<QLayoutItem*>(layoutItem))->iterator();
+ TQLayoutIterator it = TQT_TQLAYOUT(layoutItem)->iterator();
for (TQLayoutItem *itm = it.current(); itm; itm = ++it)
delete itm->widget();
delete layoutItem;