summaryrefslogtreecommitdiffstats
path: root/kdmlib/kgreet_winbind.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdmlib/kgreet_winbind.cpp')
-rw-r--r--kdmlib/kgreet_winbind.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kdmlib/kgreet_winbind.cpp b/kdmlib/kgreet_winbind.cpp
index 8ae12144b..3ab5bbaa8 100644
--- a/kdmlib/kgreet_winbind.cpp
+++ b/kdmlib/kgreet_winbind.cpp
@@ -213,7 +213,7 @@ KWinbindGreeter::~KWinbindGreeter()
delete domainCombo;
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;