summaryrefslogtreecommitdiffstats
path: root/kdmlib
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
parentb3e920373e396a5af2d3f39c6e3ae51fe01b92a9 (diff)
downloadtdebase-b92f4fbd165f03685928a50d85c34ba8729b7c48.tar.gz
tdebase-b92f4fbd165f03685928a50d85c34ba8729b7c48.zip
Fix tdebase FTBFS
Diffstat (limited to 'kdmlib')
-rw-r--r--kdmlib/kgreet_classic.cpp2
-rw-r--r--kdmlib/kgreet_pam.cpp2
-rw-r--r--kdmlib/kgreet_pam.h2
-rw-r--r--kdmlib/kgreet_winbind.cpp2
4 files changed, 4 insertions, 4 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;
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;
diff --git a/kdmlib/kgreet_pam.h b/kdmlib/kgreet_pam.h
index 0be454674..2c1e3f252 100644
--- a/kdmlib/kgreet_pam.h
+++ b/kdmlib/kgreet_pam.h
@@ -65,7 +65,7 @@ class KPamGreeter : public TQObject, public KGreeterPlugin {
virtual void revive();
virtual void clear();
- TQGridLayout *getLayoutItem() const { return static_cast<TQGridLayout*>(TQT_TQLAYOUT(static_cast<QLayoutItem*>(layoutItem))); }
+ TQGridLayout *getLayoutItem() const { return static_cast<TQGridLayout*>(TQT_TQLAYOUT(layoutItem)); }
public slots:
void slotLoginLostFocus();
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;