From 757df49cbbce33bba23ec0d642da3901f3ec5bbd Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 3 Aug 2014 13:33:43 +0300 Subject: add missing consts. --- src/gui/windows/setupwindow.cpp | 2 +- src/gui/windows/setupwindow.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui') 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::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(); -- cgit v1.2.3-70-g09d2