summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-08-29 16:56:45 +0300
committerAndrei Karas <akaras@inbox.ru>2015-08-29 16:56:45 +0300
commit973606a6dbd201050b7d4cd0a6a782ff742056f6 (patch)
tree4f951409d7dbde5eb201bf3c6b46f777c3ce39b8 /src/gui
parentd528e58cdbd306a828882eb68855e81dda2a3e62 (diff)
downloadmv-973606a6dbd201050b7d4cd0a6a782ff742056f6.tar.gz
mv-973606a6dbd201050b7d4cd0a6a782ff742056f6.tar.bz2
mv-973606a6dbd201050b7d4cd0a6a782ff742056f6.tar.xz
mv-973606a6dbd201050b7d4cd0a6a782ff742056f6.zip
Fix code style.
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