summaryrefslogtreecommitdiff
path: root/src/listeners
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-18 12:18:44 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-18 14:52:11 +0300
commitbb9ed14fc1bf7dc20f1e951e67bb359c273033a3 (patch)
treec46e7e5708d3a2058233a41a08995e6c861703ea /src/listeners
parent10273bc94e90fefcfe3fc215aaaaafe7e0e96bd4 (diff)
downloadplus-bb9ed14fc1bf7dc20f1e951e67bb359c273033a3.tar.gz
plus-bb9ed14fc1bf7dc20f1e951e67bb359c273033a3.tar.bz2
plus-bb9ed14fc1bf7dc20f1e951e67bb359c273033a3.tar.xz
plus-bb9ed14fc1bf7dc20f1e951e67bb359c273033a3.zip
fix code style.
Diffstat (limited to 'src/listeners')
-rw-r--r--src/listeners/openurllistener.h5
-rw-r--r--src/listeners/wrongdatanoticelistener.cpp1
2 files changed, 5 insertions, 1 deletions
diff --git a/src/listeners/openurllistener.h b/src/listeners/openurllistener.h
index 2fdd6b945..61780474e 100644
--- a/src/listeners/openurllistener.h
+++ b/src/listeners/openurllistener.h
@@ -20,6 +20,9 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#ifndef LISTENERS_OPENURLLISTENER_H
+#define LISTENERS_OPENURLLISTENER_H
+
#include "listeners/actionlistener.h"
#include "utils/process.h"
@@ -46,3 +49,5 @@ struct OpenUrlListener final : public ActionListener
std::string url;
};
+
+#endif // LISTENERS_OPENURLLISTENER_H
diff --git a/src/listeners/wrongdatanoticelistener.cpp b/src/listeners/wrongdatanoticelistener.cpp
index 157ce8a4e..11b209ab2 100644
--- a/src/listeners/wrongdatanoticelistener.cpp
+++ b/src/listeners/wrongdatanoticelistener.cpp
@@ -42,4 +42,3 @@ void WrongDataNoticeListener::action(const ActionEvent &event)
if (event.getId() == "ok" && mTarget)
mTarget->requestFocus();
}
-