summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/windows/insertcarddialog.cpp1
-rw-r--r--src/gui/windows/insertcarddialog.h1
-rw-r--r--src/gui/windows/inventorywindow.cpp2
-rw-r--r--src/gui/windows/updaterwindow.h1
4 files changed, 0 insertions, 5 deletions
diff --git a/src/gui/windows/insertcarddialog.cpp b/src/gui/windows/insertcarddialog.cpp
index 607a41c6a..570f87666 100644
--- a/src/gui/windows/insertcarddialog.cpp
+++ b/src/gui/windows/insertcarddialog.cpp
@@ -39,7 +39,6 @@
InsertCardDialog::InsertCardDialog(const int itemIndex,
const Item *const item) :
SellDialog(false),
- mItem(item),
mItemIndex(itemIndex)
{
// TRANSLATORS: insert card dialog name
diff --git a/src/gui/windows/insertcarddialog.h b/src/gui/windows/insertcarddialog.h
index aa10c9a02..038e46354 100644
--- a/src/gui/windows/insertcarddialog.h
+++ b/src/gui/windows/insertcarddialog.h
@@ -45,7 +45,6 @@ class InsertCardDialog final : public SellDialog
void sellAction(const ActionEvent &event) override final;
private:
- const Item *mItem;
int mItemIndex;
};
diff --git a/src/gui/windows/inventorywindow.cpp b/src/gui/windows/inventorywindow.cpp
index 931acdf4a..6f1cac84d 100644
--- a/src/gui/windows/inventorywindow.cpp
+++ b/src/gui/windows/inventorywindow.cpp
@@ -60,8 +60,6 @@
#include "listeners/insertcardlistener.h"
-#include "net/inventoryhandler.h"
-
#include "resources/iteminfo.h"
#include "utils/delete2.h"
diff --git a/src/gui/windows/updaterwindow.h b/src/gui/windows/updaterwindow.h
index be8b67938..4e6f26136 100644
--- a/src/gui/windows/updaterwindow.h
+++ b/src/gui/windows/updaterwindow.h
@@ -40,7 +40,6 @@ class BrowserBox;
class Button;
class Label;
class ProgressBar;
-class ResourceManager;
class ScrollArea;
namespace Net