From 1390bece9a81780610a9aee6f7d543f72bf57d1a Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 3 Dec 2023 00:48:02 +0900 Subject: Replaced various '#define' with actual strings - part 5 Signed-off-by: Michele Calgaro --- tdmlib/kgreet_pam.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tdmlib/kgreet_pam.cpp') diff --git a/tdmlib/kgreet_pam.cpp b/tdmlib/kgreet_pam.cpp index 69eac485b..b0ef73a28 100644 --- a/tdmlib/kgreet_pam.cpp +++ b/tdmlib/kgreet_pam.cpp @@ -111,7 +111,7 @@ KPamGreeter::KPamGreeter( KGreeterPluginHandler *_handler, m_themer = themer; if (!themer) - layoutItem = TQT_TQLAYOUTITEM(new TQGridLayout( 0, 0, 10 )); + layoutItem = new TQGridLayout( 0, 0, 10 ); loginLabel = 0; authLabel.clear(); @@ -211,7 +211,7 @@ KPamGreeter::~KPamGreeter() delete loginEdit; return; } - TQLayoutIterator it = TQT_TQLAYOUT(layoutItem)->iterator(); + TQLayoutIterator it = static_cast(layoutItem)->iterator(); for (TQLayoutItem *itm = it.current(); itm; itm = ++it) delete itm->widget(); delete layoutItem; -- cgit v1.2.1