diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-14 21:19:13 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-15 11:49:48 +0900 |
| commit | 727a2e58bc79c09f53766110fb7c31d3f3af1e46 (patch) | |
| tree | b25d6d7150349065234e2b6cabe8d2c3cdd27aa4 /src/entryeditdialog.cpp | |
| parent | 8ed9929d5bce3d3af5684b487437e307e9f908a2 (diff) | |
| download | tellico-727a2e58bc79c09f53766110fb7c31d3f3af1e46.tar.gz tellico-727a2e58bc79c09f53766110fb7c31d3f3af1e46.zip | |
Remove various '#define' strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 3d581777cdf9c0ff8dc7e757a2cd576f69e96b51)
Diffstat (limited to 'src/entryeditdialog.cpp')
| -rw-r--r-- | src/entryeditdialog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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<GUI::FieldWidget*>(TQT_TQWIDGET(it.current()))->labelWidth()); + maxWidth = TQMAX(maxWidth, static_cast<GUI::FieldWidget*>(it.current())->labelWidth()); } for(it.toFirst(); it.current(); ++it) { - static_cast<GUI::FieldWidget*>(TQT_TQWIDGET(it.current()))->setLabelWidth(maxWidth); + static_cast<GUI::FieldWidget*>(it.current())->setLabelWidth(maxWidth); } delete childList; } |
