[office/tellico] src/fetch: constify
Robby Stephenson <[email protected]>
| Newsgroups | gmane.comp.kde.cvs |
|---|---|
| Message-ID | <[email protected]> |
Git commit 508f8de49d547a34051ca1ce160c598257dd86f9 by Robby Stephenson.
Committed on 08/08/2026 at 23:40.
Pushed by rstephenson into branch 'master'.
constify
M +2 -2 src/fetch/srufetcher.cpp
https://invent.kde.org/office/tellico/-/commit/508f8de49d547a34051ca1ce160c598257dd86f9
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);
}