From dfc17c5190afb26a64744eccfa96df1623f73088 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 26 Nov 2023 02:19:37 +0900 Subject: [PATCH] Replaced various '#define' with actual strings - part 4 Signed-off-by: Michele Calgaro --- tqt/kqt3.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tqt/kqt3.cpp b/tqt/kqt3.cpp index 97b3584..2149882 100644 --- a/tqt/kqt3.cpp +++ b/tqt/kqt3.cpp @@ -238,7 +238,7 @@ static const TQString getFilters(TQFileDialog *dlg, bool scribusSave=false) end(children.end()); for(; it!=end; ++it) - if(::tqqt_cast(*it) && 0==qstrcmp((*it)->name(), "file types")) + if(::tqt_cast(*it) && 0==qstrcmp((*it)->name(), "file types")) { TQComboBox *types=(TQComboBox *)(*it); TQTextOStream str(&filter); @@ -275,7 +275,7 @@ static TQString getCurrentFileName(TQFileDialog *dlg) end(children.end()); for(; it!=end; ++it) - if(::tqqt_cast(*it)) // && 0==qstrcmp((*it)->name(), "name/filter editor")) + if(::tqt_cast(*it)) // && 0==qstrcmp((*it)->name(), "name/filter editor")) return ((TQLineEdit *)(*it))->text(); } }