summaryrefslogtreecommitdiffstats
path: root/kdmlib/kgreet_pam.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdmlib/kgreet_pam.cpp')
-rw-r--r--kdmlib/kgreet_pam.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kdmlib/kgreet_pam.cpp b/kdmlib/kgreet_pam.cpp
index 19c797b44..41c7b2439 100644
--- a/kdmlib/kgreet_pam.cpp
+++ b/kdmlib/kgreet_pam.cpp
@@ -209,7 +209,7 @@ KPamGreeter::~KPamGreeter()
delete loginEdit;
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;