mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-10 01:59:31 +00:00
Revert "Userland: static vs non-static constexpr variables"
This reverts commit 800ea8ea96
.
Booting the system no longer worked after these changes.
This commit is contained in:
parent
68f76b9e37
commit
d60ebbbba6
Notes:
sideshowbarker
2024-07-18 17:38:20 +09:00
Author: https://github.com/linusg
Commit: d60ebbbba6
38 changed files with 184 additions and 192 deletions
|
@ -59,7 +59,7 @@ WindowManager::~WindowManager()
|
|||
|
||||
NonnullRefPtr<Cursor> WindowManager::get_cursor(const String& name)
|
||||
{
|
||||
constexpr auto s_default_cursor_path = "/res/cursors/arrow.x2y2.png";
|
||||
static const auto s_default_cursor_path = "/res/cursors/arrow.x2y2.png";
|
||||
auto path = m_config->read_entry("Cursor", name, s_default_cursor_path);
|
||||
auto gb = Gfx::Bitmap::load_from_file(path, compositor_icon_scale());
|
||||
if (gb)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue