summaryrefslogtreecommitdiff
path: root/Userland/Applications/SoundPlayer/SoundPlayerWidgetAdvancedView.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Applications/SoundPlayer/SoundPlayerWidgetAdvancedView.cpp')
-rw-r--r--Userland/Applications/SoundPlayer/SoundPlayerWidgetAdvancedView.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applications/SoundPlayer/SoundPlayerWidgetAdvancedView.cpp b/Userland/Applications/SoundPlayer/SoundPlayerWidgetAdvancedView.cpp
index 356dea2e78..07c358700e 100644
--- a/Userland/Applications/SoundPlayer/SoundPlayerWidgetAdvancedView.cpp
+++ b/Userland/Applications/SoundPlayer/SoundPlayerWidgetAdvancedView.cpp
@@ -35,7 +35,7 @@ SoundPlayerWidgetAdvancedView::SoundPlayerWidgetAdvancedView(GUI::Window& window
set_layout<GUI::VerticalBoxLayout>();
m_splitter = add<GUI::HorizontalSplitter>();
m_player_view = m_splitter->add<GUI::Widget>();
- m_playlist_model = adopt(*new PlaylistModel());
+ m_playlist_model = adopt_ref(*new PlaylistModel());
m_player_view->set_layout<GUI::VerticalBoxLayout>();