aboutsummaryrefslogtreecommitdiff
path: root/lib/uri.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/uri.cpp')
-rw-r--r--lib/uri.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/uri.cpp b/lib/uri.cpp
index 6b7d1d20..91751df0 100644
--- a/lib/uri.cpp
+++ b/lib/uri.cpp
@@ -171,7 +171,7 @@ QUrl Uri::toUrl(UriForm form) const
return {};
if (form == CanonicalUri || type() == NonMatrix)
- return *this; // NOLINT(cppcoreguidelines-slicing): It's intentional
+ return SLICE(*this, QUrl);
QUrl url;
url.setScheme("https");