From 6183c4e2f40eb49b40e0bdcc6cb866729d0afc3b Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Tue, 18 Jun 2019 12:17:25 +0200 Subject: [PATCH] [libcalamares] Add accessors for GeoIP handler attributes --- src/libcalamares/geoip/Handler.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/libcalamares/geoip/Handler.h b/src/libcalamares/geoip/Handler.h index 5c3207b60..8e435b5b7 100644 --- a/src/libcalamares/geoip/Handler.h +++ b/src/libcalamares/geoip/Handler.h @@ -25,7 +25,7 @@ #include #include -namespace CalamaresUtils +namespace CalamaresUtils { namespace GeoIP { @@ -80,6 +80,8 @@ public: bool isValid() const { return m_type != Type::None; } Type type() const { return m_type; } + QString url() const { return m_url; } + QString selector() const { return m_selector; } private: Type m_type;