mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-01 07:52:50 +00:00
Userland: Fix remaining smart pointer const-correctness issues
This commit is contained in:
parent
faa1a09042
commit
33e87d1627
Notes:
sideshowbarker
2024-07-17 22:09:47 +09:00
Author: https://github.com/awesomekling
Commit: 33e87d1627
Pull-request: https://github.com/SerenityOS/serenity/pull/17557
Reviewed-by: https://github.com/linusg
17 changed files with 23 additions and 23 deletions
|
@ -50,7 +50,8 @@ void EditorWrapper::set_mode_displayable()
|
|||
{
|
||||
editor().set_mode(GUI::TextEditor::Editable);
|
||||
editor().set_background_role(Gfx::ColorRole::Base);
|
||||
editor().set_palette(GUI::Application::the()->palette());
|
||||
auto palette = GUI::Application::the()->palette();
|
||||
editor().set_palette(palette);
|
||||
}
|
||||
|
||||
void EditorWrapper::set_mode_non_displayable()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue