aboutsummaryrefslogtreecommitdiff
path: root/lib/urlfilter/formats/hostlistrule.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/urlfilter/formats/hostlistrule.h')
-rw-r--r--lib/urlfilter/formats/hostlistrule.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/urlfilter/formats/hostlistrule.h b/lib/urlfilter/formats/hostlistrule.h
index c65a98f..58ec690 100644
--- a/lib/urlfilter/formats/hostlistrule.h
+++ b/lib/urlfilter/formats/hostlistrule.h
@@ -18,7 +18,10 @@ public:
explicit HostlistRule(const QString &domain, const QString &redirect);
bool match(const QUrl &requestUrl) const override;
- FilterLeaf::Action action() const override;
+ std::pair<FilterLeaf::Action, QVariant> action() const override;
+
+private:
+ QString m_redirect;
};
#endif // SMOLBOTE_HOSTLIST_RULE_H