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 00:30:59 +0900 |
commit | 3d581777cdf9c0ff8dc7e757a2cd576f69e96b51 (patch) | |
tree | d7ec6ca39a46ae475336025d1c11e27fe23a47e8 /src/fetchdialog.cpp | |
parent | 10996a19ed32a39c2177936026b798cae63e01bd (diff) | |
download | tellico-3d581777cdf9c0ff8dc7e757a2cd576f69e96b51.tar.gz tellico-3d581777cdf9c0ff8dc7e757a2cd576f69e96b51.zip |
Remove various '#define' strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/fetchdialog.cpp')
-rw-r--r-- | src/fetchdialog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fetchdialog.cpp b/src/fetchdialog.cpp index 8392fab..0ca85f9 100644 --- a/src/fetchdialog.cpp +++ b/src/fetchdialog.cpp @@ -553,9 +553,9 @@ void FetchDialog::slotKeyChanged(int idx_) { if(key == Fetch::ISBN || key == Fetch::UPC || key == Fetch::LCCN) { m_multipleISBN->setEnabled(true); if(key == Fetch::ISBN) { - m_valueLineEdit->setValidator(new ISBNValidator(TQT_TQOBJECT(this))); + m_valueLineEdit->setValidator(new ISBNValidator(this)); } else { - UPCValidator* upc = new UPCValidator(TQT_TQOBJECT(this)); + UPCValidator* upc = new UPCValidator(this); connect(upc, TQT_SIGNAL(signalISBN()), TQT_SLOT(slotUPC2ISBN())); m_valueLineEdit->setValidator(upc); // only want to convert to ISBN if ISBN is accepted by the fetcher |