summaryrefslogtreecommitdiff
path: root/src/gui/windows/inventorywindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/inventorywindow.cpp')
-rw-r--r--src/gui/windows/inventorywindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/windows/inventorywindow.cpp b/src/gui/windows/inventorywindow.cpp
index 7cf268b0f..3f2414e9f 100644
--- a/src/gui/windows/inventorywindow.cpp
+++ b/src/gui/windows/inventorywindow.cpp
@@ -763,14 +763,14 @@ InventoryWindow *InventoryWindow::getFirstVisible()
void InventoryWindow::nextTab()
{
- InventoryWindow *const window = getFirstVisible();
+ const InventoryWindow *const window = getFirstVisible();
if (window)
window->mFilter->nextTab();
}
void InventoryWindow::prevTab()
{
- InventoryWindow *const window = getFirstVisible();
+ const InventoryWindow *const window = getFirstVisible();
if (window)
window->mFilter->prevTab();
}