From 973606a6dbd201050b7d4cd0a6a782ff742056f6 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 29 Aug 2015 16:56:45 +0300 Subject: Fix code style. --- src/gui/windows/insertcarddialog.cpp | 1 - src/gui/windows/insertcarddialog.h | 1 - src/gui/windows/inventorywindow.cpp | 2 -- src/gui/windows/updaterwindow.h | 1 - 4 files changed, 5 deletions(-) (limited to 'src/gui/windows') 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 -- cgit v1.2.3-70-g09d2