diff options
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/windows/setupwindow.cpp | 2 | ||||
-rw-r--r-- | src/gui/windows/setupwindow.h | 2 |
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(); |