summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichal Klocek <michal.klocek@qt.io>2021-03-02 08:41:23 +0100
committerMichal Klocek <michal.klocek@qt.io>2021-04-06 12:27:45 +0100
commit063ce0d4e8fa33b4a03adc290a962b6cf6766717 (patch)
treee265a2bb54c2c7a2d8da6eb02e6d1f0e4aaab787
parente0b4b9436033e9bc376597ed90dd1fca9cdc90ff (diff)
Fix static build of qml qtpdf
Fix duplicated symbols for category logging between core and qml plugin. Task-number: QTBUG-91476 Change-Id: I532ad35b8b0e8a0b93e51b9b7a7b3a4602fad9b3 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
-rw-r--r--src/pdf/quick/qquickpdfsearchmodel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pdf/quick/qquickpdfsearchmodel.cpp b/src/pdf/quick/qquickpdfsearchmodel.cpp
index 1f62fbad0..b40b9f924 100644
--- a/src/pdf/quick/qquickpdfsearchmodel.cpp
+++ b/src/pdf/quick/qquickpdfsearchmodel.cpp
@@ -39,7 +39,7 @@
QT_BEGIN_NAMESPACE
-Q_LOGGING_CATEGORY(qLcS, "qt.pdf.search")
+Q_LOGGING_CATEGORY(qLcSearch, "qt.pdf.search")
/*!
\qmltype PdfSearchModel
@@ -282,7 +282,7 @@ void QQuickPdfSearchModel::setCurrentResult(int currentResult)
currentResult = 0;
}
}
- qCDebug(qLcS) << "currentResult was" << m_currentResult
+ qCDebug(qLcSearch) << "currentResult was" << m_currentResult
<< "requested" << currentResultWas << "on page" << currentPageWas
<< "->" << currentResult << "on page" << m_currentPage;