summaryrefslogtreecommitdiff
path: root/src/events/actionevent.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/events/actionevent.h')
-rw-r--r--src/events/actionevent.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/events/actionevent.h b/src/events/actionevent.h
index 3164955e6..25f936cdd 100644
--- a/src/events/actionevent.h
+++ b/src/events/actionevent.h
@@ -70,10 +70,7 @@
#include "localconsts.h"
-namespace GCN
-{
- class Widget;
-}
+class Widget;
/**
* Represents an action event. An action event is an event
@@ -106,7 +103,7 @@ class ActionEvent final : public Event
* @param source The source widget of the event.
* @param id An identifier of the event.
*/
- ActionEvent(gcn::Widget *const source, const std::string &id) :
+ ActionEvent(Widget *const source, const std::string &id) :
Event(source),
mId(id)
{