summaryrefslogtreecommitdiff
path: root/src/gui/windows
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-03 13:33:43 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-03 13:33:43 +0300
commit757df49cbbce33bba23ec0d642da3901f3ec5bbd (patch)
tree4d3d49a544c070e120e95e0007b19d79657eb9a9 /src/gui/windows
parent8b2464a723f7039a3efbc0c7d2e883729b3fa7dd (diff)
downloadmanaplus-757df49cbbce33bba23ec0d642da3901f3ec5bbd.tar.gz
manaplus-757df49cbbce33bba23ec0d642da3901f3ec5bbd.tar.bz2
manaplus-757df49cbbce33bba23ec0d642da3901f3ec5bbd.tar.xz
manaplus-757df49cbbce33bba23ec0d642da3901f3ec5bbd.zip
add missing consts.
Diffstat (limited to 'src/gui/windows')
-rw-r--r--src/gui/windows/setupwindow.cpp2
-rw-r--r--src/gui/windows/setupwindow.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/windows/setupwindow.cpp b/src/gui/windows/setupwindow.cpp
index 9dfb675d8..df1fe7f28 100644
--- a/src/gui/windows/setupwindow.cpp
+++ b/src/gui/windows/setupwindow.cpp
@@ -244,7 +244,7 @@ void SetupWindow::registerWindowForReset(Window *const window)
mWindowsToReset.push_back(window);
}
-void SetupWindow::unregisterWindowForReset(Window *const window)
+void SetupWindow::unregisterWindowForReset(const Window *const window)
{
FOR_EACH (std::list<Window*>::iterator, it, mWindowsToReset)
{
diff --git a/src/gui/windows/setupwindow.h b/src/gui/windows/setupwindow.h
index d386b365e..7ce19e08e 100644
--- a/src/gui/windows/setupwindow.h
+++ b/src/gui/windows/setupwindow.h
@@ -62,7 +62,7 @@ class SetupWindow final : public Window,
void registerWindowForReset(Window *const window);
- void unregisterWindowForReset(Window *const window);
+ void unregisterWindowForReset(const Window *const window);
void hideWindows();