[office/tellico/4.2] src/fetch: constify
Robby Stephenson <[email protected]>
| Newsgroups | gmane.comp.kde.cvs |
|---|---|
| Message-ID | <[email protected]> |
Git commit 9592aa9efb1f326809aa69ab1d84f7ef8bc38b52 by Robby Stephenson.
Committed on 01/08/2026 at 15:48.
Pushed by rstephenson into branch '4.2'.
constify
M +2 -2 src/fetch/srufetcher.cpp
https://invent.kde.org/office/tellico/-/commit/9592aa9efb1f326809aa69ab1d84f7ef8bc38b52
diff --git a/src/fetch/srufetcher.cpp b/src/fetch/srufetcher.cpp
index f53072fac..847734590 100644
--- a/src/fetch/srufetcher.cpp
+++ b/src/fetch/srufetcher.cpp
@@ -458,12 +458,12 @@ Tellico::Data::EntryPtr SRUFetcher::fetchEntryHook(uint uid_) {
Tellico::Fetch::FetchRequest SRUFetcher::updateRequest(Data::EntryPtr entry_) {
// myDebug() << source() << ": " << entry_->title();
- QString isbn = entry_->field(QStringLiteral("isbn"));
+ const QString isbn = entry_->field(QStringLiteral("isbn"));
if(!isbn.isEmpty()) {
return FetchRequest(Fetch::ISBN, isbn);
}
- QString lccn = entry_->field(QStringLiteral("lccn"));
+ const QString lccn = entry_->field(QStringLiteral("lccn"));
if(!lccn.isEmpty()) {
return FetchRequest(Fetch::LCCN, lccn);
}