From 3d581777cdf9c0ff8dc7e757a2cd576f69e96b51 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 14 Dec 2023 21:19:13 +0900 Subject: Remove various '#define' strings - part 6 Signed-off-by: Michele Calgaro --- src/entryeditdialog.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/entryeditdialog.cpp') diff --git a/src/entryeditdialog.cpp b/src/entryeditdialog.cpp index feb57a7..3cb94d0 100644 --- a/src/entryeditdialog.cpp +++ b/src/entryeditdialog.cpp @@ -708,10 +708,10 @@ void EntryEditDialog::modifyField(Data::CollPtr coll_, Data::FieldPtr oldField_, TQObjectList* childList = widget->parentWidget()->queryList("Tellico::GUI::FieldWidget", 0, false, false); TQObjectListIt it(*childList); for(it.toFirst(); it.current(); ++it) { - maxWidth = TQMAX(maxWidth, static_cast(TQT_TQWIDGET(it.current()))->labelWidth()); + maxWidth = TQMAX(maxWidth, static_cast(it.current())->labelWidth()); } for(it.toFirst(); it.current(); ++it) { - static_cast(TQT_TQWIDGET(it.current()))->setLabelWidth(maxWidth); + static_cast(it.current())->setLabelWidth(maxWidth); } delete childList; } -- cgit v1.2.1