summaryrefslogtreecommitdiff
path: root/src/listeners/openurllistener.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-21 01:13:48 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-21 01:13:48 +0300
commit6c01b391c288622d8e360d823c9c1e35a874fa58 (patch)
tree68dc29cbdfd55770a625aaf16939f243a7289d57 /src/listeners/openurllistener.h
parent414b9fbcd9bf6f49ba98d84babfac143aa9e6532 (diff)
downloadplus-6c01b391c288622d8e360d823c9c1e35a874fa58.tar.gz
plus-6c01b391c288622d8e360d823c9c1e35a874fa58.tar.bz2
plus-6c01b391c288622d8e360d823c9c1e35a874fa58.tar.xz
plus-6c01b391c288622d8e360d823c9c1e35a874fa58.zip
Add missing public modifier to some structs.
Diffstat (limited to 'src/listeners/openurllistener.h')
-rw-r--r--src/listeners/openurllistener.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/listeners/openurllistener.h b/src/listeners/openurllistener.h
index a6635b89c..e7b275b69 100644
--- a/src/listeners/openurllistener.h
+++ b/src/listeners/openurllistener.h
@@ -39,13 +39,14 @@ struct OpenUrlListener final : public ActionListener
A_DELETE_COPY(OpenUrlListener)
- void action(const ActionEvent &event) override final
- {
- if (event.getId() == "yes")
- openBrowser(url);
- }
-
- std::string url;
+ public:
+ void action(const ActionEvent &event) override final
+ {
+ if (event.getId() == "yes")
+ openBrowser(url);
+ }
+
+ std::string url;
};
#endif // LISTENERS_OPENURLLISTENER_H