summaryrefslogtreecommitdiff
path: root/src/gui/windows/inventorywindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-12-19 16:05:51 +0300
committerAndrei Karas <akaras@inbox.ru>2014-12-19 16:05:51 +0300
commit549acdd072b732135dfa7b79015abf7340bef585 (patch)
tree4ef633c931e05357dd1b89bd7b399ed0fbb0115f /src/gui/windows/inventorywindow.cpp
parent39276c4fc0e94f89a53e6c2cb05fd46edea3cc13 (diff)
downloadmv-549acdd072b732135dfa7b79015abf7340bef585.tar.gz
mv-549acdd072b732135dfa7b79015abf7340bef585.tar.bz2
mv-549acdd072b732135dfa7b79015abf7340bef585.tar.xz
mv-549acdd072b732135dfa7b79015abf7340bef585.zip
Fix code style.
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();
}