summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/widgets/guitable.cpp2
-rw-r--r--src/gui/widgets/guitable.h3
2 files changed, 2 insertions, 3 deletions
diff --git a/src/gui/widgets/guitable.cpp b/src/gui/widgets/guitable.cpp
index 7f4a18858..0cb320c91 100644
--- a/src/gui/widgets/guitable.cpp
+++ b/src/gui/widgets/guitable.cpp
@@ -26,7 +26,7 @@
#include "gui/gui.h"
-#include "events/keyevent.h"
+#include "gui/models/tablemodel.h"
#include "input/inputaction.h"
diff --git a/src/gui/widgets/guitable.h b/src/gui/widgets/guitable.h
index bea678706..4f4e2cfa3 100644
--- a/src/gui/widgets/guitable.h
+++ b/src/gui/widgets/guitable.h
@@ -25,8 +25,6 @@
#include "localconsts.h"
-#include "gui/models/tablemodel.h"
-
#include "listeners/keylistener.h"
#include "listeners/mouselistener.h"
#include "listeners/tablemodellistener.h"
@@ -36,6 +34,7 @@
#include <vector>
class GuiTableActionListener;
+class TableModel;
/**
* A table, with rows and columns made out of sub-widgets. Largely inspired by