diff options
Diffstat (limited to 'tdmlib/kgreet_winbind.cpp')
-rw-r--r-- | tdmlib/kgreet_winbind.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tdmlib/kgreet_winbind.cpp b/tdmlib/kgreet_winbind.cpp index 545a96a61..6065a9123 100644 --- a/tdmlib/kgreet_winbind.cpp +++ b/tdmlib/kgreet_winbind.cpp @@ -93,7 +93,7 @@ KWinbindGreeter::KWinbindGreeter( KGreeterPluginHandler *_handler, if (!themer) { grid = new TQGridLayout( 0, 0, 10 ); - layoutItem = TQT_TQLAYOUTITEM(grid); + layoutItem = grid; } domainLabel = loginLabel = passwdLabel = passwd1Label = passwd2Label = 0; @@ -217,7 +217,7 @@ KWinbindGreeter::~KWinbindGreeter() delete domainCombo; return; } - TQLayoutIterator it = TQT_TQLAYOUT(layoutItem)->iterator(); + TQLayoutIterator it = static_cast<TQLayout*>(layoutItem)->iterator(); for (TQLayoutItem *itm = it.current(); itm; itm = ++it) delete itm->widget(); delete layoutItem; |