summaryrefslogtreecommitdiff
path: root/src/gui/itemshortcutwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/itemshortcutwindow.h')
-rw-r--r--src/gui/itemshortcutwindow.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/gui/itemshortcutwindow.h b/src/gui/itemshortcutwindow.h
index 1dde8686..51685e49 100644
--- a/src/gui/itemshortcutwindow.h
+++ b/src/gui/itemshortcutwindow.h
@@ -25,7 +25,6 @@
#define _TMW_ITEMSHORTCUTWINDOW_H
#include "window.h"
-#include "windowlistener.h"
#include "../guichanfwd.h"
@@ -36,7 +35,7 @@ class ItemShortcutContainer;
*
* \ingroup Interface
*/
-class ItemShortcutWindow : public Window, WindowListener
+class ItemShortcutWindow : public Window
{
public:
/**
@@ -55,9 +54,9 @@ class ItemShortcutWindow : public Window, WindowListener
void logic();
/**
- * Called whenever the window is resized.
+ * Called whenever the widget changes size.
*/
- void windowResized(const WindowEvent &event);
+ void widgetResized(const gcn::Event &event);
private:
ItemShortcutContainer *mItems;