summaryrefslogtreecommitdiff
path: root/src/gui/base/widgets
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-02-20 22:36:48 +0300
committerAndrei Karas <akaras@inbox.ru>2014-02-20 22:36:48 +0300
commitd83c6dd523827087681f019ebfca8798380dc968 (patch)
tree65515ef8405399007fef057bc37dc39ab1911000 /src/gui/base/widgets
parent26f9aad24bc50d4e9fd161d185df049c9e7a62cf (diff)
downloadplus-d83c6dd523827087681f019ebfca8798380dc968.tar.gz
plus-d83c6dd523827087681f019ebfca8798380dc968.tar.bz2
plus-d83c6dd523827087681f019ebfca8798380dc968.tar.xz
plus-d83c6dd523827087681f019ebfca8798380dc968.zip
fix code style.
Diffstat (limited to 'src/gui/base/widgets')
-rw-r--r--src/gui/base/widgets/listbox.cpp2
-rw-r--r--src/gui/base/widgets/listbox.hpp3
2 files changed, 4 insertions, 1 deletions
diff --git a/src/gui/base/widgets/listbox.cpp b/src/gui/base/widgets/listbox.cpp
index 02d94626c..765878834 100644
--- a/src/gui/base/widgets/listbox.cpp
+++ b/src/gui/base/widgets/listbox.cpp
@@ -69,6 +69,8 @@
#include "gui/font.h"
+#include "gui/base/listmodel.hpp"
+
#include "listeners/selectionlistener.h"
#include "debug.h"
diff --git a/src/gui/base/widgets/listbox.hpp b/src/gui/base/widgets/listbox.hpp
index ff2df395c..c46aca6ae 100644
--- a/src/gui/base/widgets/listbox.hpp
+++ b/src/gui/base/widgets/listbox.hpp
@@ -66,7 +66,6 @@
#include <list>
-#include "gui/base/listmodel.hpp"
#include "gui/base/widget.hpp"
#include "listeners/keylistener.h"
@@ -76,6 +75,8 @@ class SelectionListener;
namespace gcn
{
+ class ListModel;
+
/**
* An implementation of a list box where an item can be selected.
*