summaryrefslogtreecommitdiff
path: root/src/gui/windows
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows')
-rw-r--r--src/gui/windows/textselectdialog.cpp5
-rw-r--r--src/gui/windows/textselectdialog.h11
2 files changed, 5 insertions, 11 deletions
diff --git a/src/gui/windows/textselectdialog.cpp b/src/gui/windows/textselectdialog.cpp
index 7f6de8617..9db45d7c7 100644
--- a/src/gui/windows/textselectdialog.cpp
+++ b/src/gui/windows/textselectdialog.cpp
@@ -29,7 +29,6 @@
#include "gui/widgets/button.h"
#include "gui/widgets/containerplacer.h"
#include "gui/widgets/createwidget.h"
-#include "gui/widgets/label.h"
#include "gui/widgets/layout.h"
#include "gui/widgets/layouttype.h"
#include "gui/widgets/listbox.h"
@@ -37,7 +36,6 @@
#include "utils/delete2.h"
#include "utils/gettext.h"
-#include "utils/stringutils.h"
#include "debug.h"
@@ -53,7 +51,8 @@ TextSelectDialog::TextSelectDialog(const std::string &name,
mQuitButton(nullptr),
mItemList(nullptr),
mScrollArea(nullptr),
- mModel(nullptr)
+ mModel(nullptr),
+ mTag(0)
{
}
diff --git a/src/gui/windows/textselectdialog.h b/src/gui/windows/textselectdialog.h
index 86a834d2e..10c49e7b8 100644
--- a/src/gui/windows/textselectdialog.h
+++ b/src/gui/windows/textselectdialog.h
@@ -20,10 +20,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef GUI_WIDGETS_TEXTSELECTDIALOG_H
-#define GUI_WIDGETS_TEXTSELECTDIALOG_H
-
-#include "enums/simpletypes/itemcolor.h"
+#ifndef GUI_WINDOWS_TEXTSELECTDIALOG_H
+#define GUI_WINDOWS_TEXTSELECTDIALOG_H
#include "gui/widgets/window.h"
@@ -31,10 +29,7 @@
#include "listeners/selectionlistener.h"
class Button;
-class Item;
-class Label;
class ScrollArea;
-class ShopItem;
class NamesModel;
class ListBox;
@@ -102,4 +97,4 @@ class TextSelectDialog notfinal : public Window,
int mTag;
};
-#endif // GUI_WIDGETS_TEXTSELECTDIALOG_H
+#endif // GUI_WINDOWS_TEXTSELECTDIALOG_H