Commit 47fa3039 authored by Laurent Montel's avatar Laurent Montel
Browse files

This method was removed in qt6

parent ac4f61f5
Pipeline #246378 passed with stage
in 20 minutes and 58 seconds
......@@ -21,7 +21,12 @@ using namespace AdBlock;
static QString toSecondLevelDomain(const QUrl &url)
const QString topLevelDomain = url.topLevelDomain();
qWarning() << "QT6! topLevelDomain not ported";
const QString topLevelDomain = url.toString();
const QString urlHost =;
if (topLevelDomain.isEmpty() || urlHost.isEmpty()) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment