mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 05:57:44 +00:00
WindowServer: Make some WindowManager member functions const
This commit is contained in:
parent
1048283186
commit
d3eccf0409
2 changed files with 5 additions and 5 deletions
|
@ -212,7 +212,7 @@ void WindowSwitcher::draw()
|
|||
void WindowSwitcher::refresh()
|
||||
{
|
||||
auto& wm = WindowManager::the();
|
||||
Window* selected_window = nullptr;
|
||||
const Window* selected_window = nullptr;
|
||||
if (m_selected_index > 0 && m_windows[m_selected_index])
|
||||
selected_window = m_windows[m_selected_index].ptr();
|
||||
if (!selected_window)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue