diff options
author | Michele Calgaro <[email protected]> | 2023-11-26 02:19:37 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-11-26 17:28:09 +0900 |
commit | 97c7c47ddd049acb8fd1681f0bf8398921bf8503 (patch) | |
tree | 93ff177ca0e52ea4c47cbeb921abafac644243a1 | |
parent | 68e5b179a4553930b0e928ed7d973dcd58776166 (diff) | |
download | kgtk-qt3-97c7c47ddd049acb8fd1681f0bf8398921bf8503.tar.gz kgtk-qt3-97c7c47ddd049acb8fd1681f0bf8398921bf8503.zip |
Replaced various '#define' with actual strings - part 4
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit dfc17c5190afb26a64744eccfa96df1623f73088)
-rw-r--r-- | tqt/kqt3.cpp | 4 |
1 files 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<TQComboBox *>(*it) && 0==qstrcmp((*it)->name(), "file types")) + if(::tqt_cast<TQComboBox *>(*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<TQLineEdit *>(*it)) // && 0==qstrcmp((*it)->name(), "name/filter editor")) + if(::tqt_cast<TQLineEdit *>(*it)) // && 0==qstrcmp((*it)->name(), "name/filter editor")) return ((TQLineEdit *)(*it))->text(); } } |