1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 10:17:35 +00:00

Everywhere: Pass AK::StringView by value

This commit is contained in:
Andreas Kling 2021-11-11 00:55:02 +01:00
parent ad5d217e76
commit 8b1108e485
392 changed files with 978 additions and 978 deletions

View file

@ -25,12 +25,12 @@ public:
static Desktop& the();
Desktop();
void set_background_color(const StringView& background_color);
void set_background_color(StringView background_color);
void set_wallpaper_mode(const StringView& mode);
void set_wallpaper_mode(StringView mode);
String wallpaper() const;
bool set_wallpaper(const StringView& path, bool save_config = true);
bool set_wallpaper(StringView path, bool save_config = true);
Gfx::IntRect rect() const { return m_bounding_rect; }
const Vector<Gfx::IntRect, 4>& rects() const { return m_rects; }