summaryrefslogtreecommitdiff
path: root/src/gui/windows/inventorywindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-11-26 00:51:57 +0300
committerAndrei Karas <akaras@inbox.ru>2018-11-27 20:33:15 +0300
commit0c20db8d108c4123fcc3ecb343759e68567a4d4e (patch)
treef577edeae7b4866d68c084a1eaa229e98c80ea8f /src/gui/windows/inventorywindow.cpp
parent2be4fc5b4eee97938657c9c8be73c4b91c8b9826 (diff)
downloadplus-0c20db8d108c4123fcc3ecb343759e68567a4d4e.tar.gz
plus-0c20db8d108c4123fcc3ecb343759e68567a4d4e.tar.bz2
plus-0c20db8d108c4123fcc3ecb343759e68567a4d4e.tar.xz
plus-0c20db8d108c4123fcc3ecb343759e68567a4d4e.zip
Remove extra ; from different code.
Diffstat (limited to 'src/gui/windows/inventorywindow.cpp')
-rw-r--r--src/gui/windows/inventorywindow.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/windows/inventorywindow.cpp b/src/gui/windows/inventorywindow.cpp
index be036a558..aa4d90258 100644
--- a/src/gui/windows/inventorywindow.cpp
+++ b/src/gui/windows/inventorywindow.cpp
@@ -146,7 +146,7 @@ InventoryWindow::InventoryWindow(Inventory *const inventory) :
mSortDropDown->setSelected(config.getIntValue(
"cartSortOrder"));
break;
- };
+ }
}
else
{
@@ -374,7 +374,7 @@ InventoryWindow::InventoryWindow(Inventory *const inventory) :
case InventoryType::Craft:
case InventoryType::TypeEnd:
break;
- };
+ }
Layout &layout = getLayout();
layout.setRowHeight(2, LayoutType::SET);
@@ -420,7 +420,7 @@ InventoryWindow::~InventoryWindow()
invInstances.front()->updateDropButton();
mSortDropDown->hideDrop(false);
- delete2(mSortModel);
+ delete2(mSortModel)
}
void InventoryWindow::storeSortOrder() const
@@ -449,7 +449,7 @@ void InventoryWindow::storeSortOrder() const
config.setValue("cartSortOrder",
mSortDropDown->getSelected());
break;
- };
+ }
}
}