From ee12ea1f64fe7efcbfdba7e663de1663f3367834 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 26 Aug 2017 02:02:43 +0300 Subject: Rename InventoryType::Mail into InventoryType::MailEdit. --- src/gui/windows/inventorywindow.cpp | 8 ++++---- src/gui/windows/mailviewwindow.cpp | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src/gui/windows') diff --git a/src/gui/windows/inventorywindow.cpp b/src/gui/windows/inventorywindow.cpp index cd688be9b..183c775ee 100644 --- a/src/gui/windows/inventorywindow.cpp +++ b/src/gui/windows/inventorywindow.cpp @@ -127,7 +127,7 @@ InventoryWindow::InventoryWindow(Inventory *const inventory) : case InventoryType::Trade: case InventoryType::Npc: case InventoryType::Vending: - case InventoryType::Mail: + case InventoryType::MailEdit: case InventoryType::Craft: case InventoryType::TypeEnd: default: @@ -319,7 +319,7 @@ InventoryWindow::InventoryWindow(Inventory *const inventory) : case InventoryType::Trade: case InventoryType::Npc: case InventoryType::Vending: - case InventoryType::Mail: + case InventoryType::MailEdit: case InventoryType::Craft: case InventoryType::TypeEnd: break; @@ -382,7 +382,7 @@ void InventoryWindow::storeSortOrder() const case InventoryType::Trade: case InventoryType::Npc: case InventoryType::Vending: - case InventoryType::Mail: + case InventoryType::MailEdit: case InventoryType::Craft: case InventoryType::TypeEnd: default: @@ -831,7 +831,7 @@ void InventoryWindow::close() case InventoryType::Trade: case InventoryType::Npc: case InventoryType::Vending: - case InventoryType::Mail: + case InventoryType::MailEdit: case InventoryType::Craft: case InventoryType::TypeEnd: break; diff --git a/src/gui/windows/mailviewwindow.cpp b/src/gui/windows/mailviewwindow.cpp index d99fd602f..e1b3a16de 100644 --- a/src/gui/windows/mailviewwindow.cpp +++ b/src/gui/windows/mailviewwindow.cpp @@ -81,7 +81,7 @@ MailViewWindow::MailViewWindow(const MailMessage *const message, // TRANSLATORS: mail view window label mMessageLabel(new Label(this, strprintf("%s %s", _("Message:"), message->text.c_str()))), - mInventory(new Inventory(InventoryType::Mail, itemsCount)), + mInventory(new Inventory(InventoryType::MailEdit, itemsCount)), mItemContainer(new ItemContainer(this, mInventory)), mItemScrollArea(new ScrollArea(this, mItemContainer, fromBool(getOptionBool("showitemsbackground"), Opaque), -- cgit v1.2.3-70-g09d2