summaryrefslogtreecommitdiffstats
path: root/kdmlib/kgreet_classic.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-11-17 21:15:44 -0600
committerTimothy Pearson <[email protected]>2011-11-17 21:15:44 -0600
commitb92f4fbd165f03685928a50d85c34ba8729b7c48 (patch)
treebed67f0b975748079868a96e23e31863aa5a0c0b /kdmlib/kgreet_classic.cpp
parentb3e920373e396a5af2d3f39c6e3ae51fe01b92a9 (diff)
downloadtdebase-b92f4fbd165f03685928a50d85c34ba8729b7c48.tar.gz
tdebase-b92f4fbd165f03685928a50d85c34ba8729b7c48.zip
Fix tdebase FTBFS
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;