summaryrefslogtreecommitdiff
path: root/src/gui/windows
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-08-26 02:02:43 +0300
committerAndrei Karas <akaras@inbox.ru>2017-08-26 02:02:43 +0300
commitee12ea1f64fe7efcbfdba7e663de1663f3367834 (patch)
treea4461d79b2ef5a2a4bd498e2063c78a4c9fe1cf6 /src/gui/windows
parent651dee7fb3c45ed18c490dc039677daed1c33aa9 (diff)
downloadmanaverse-ee12ea1f64fe7efcbfdba7e663de1663f3367834.tar.gz
manaverse-ee12ea1f64fe7efcbfdba7e663de1663f3367834.tar.bz2
manaverse-ee12ea1f64fe7efcbfdba7e663de1663f3367834.tar.xz
manaverse-ee12ea1f64fe7efcbfdba7e663de1663f3367834.zip
Rename InventoryType::Mail into InventoryType::MailEdit.
Diffstat (limited to 'src/gui/windows')
-rw-r--r--src/gui/windows/inventorywindow.cpp8
-rw-r--r--src/gui/windows/mailviewwindow.cpp2
2 files changed, 5 insertions, 5 deletions
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),