mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 08:36:15 +00:00
LibGUI: Make Desktop::set_wallpaper accept an Optional<StringView>
This commit is contained in:
committed by
Andreas Kling
parent
9f2a396c6e
commit
c9ad252e33
@@ -59,7 +59,7 @@ RefPtr<Gfx::Bitmap> Desktop::wallpaper_bitmap() const
|
||||
return ConnectionToWindowServer::the().get_wallpaper().bitmap();
|
||||
}
|
||||
|
||||
bool Desktop::set_wallpaper(RefPtr<Gfx::Bitmap const> wallpaper_bitmap, Optional<DeprecatedString> path)
|
||||
bool Desktop::set_wallpaper(RefPtr<Gfx::Bitmap const> wallpaper_bitmap, Optional<StringView> path)
|
||||
{
|
||||
if (m_is_setting_desktop_wallpaper)
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user