summaryrefslogtreecommitdiff
path: root/Userland/Applications/Piano/MainWidget.cpp
diff options
context:
space:
mode:
authorkleines Filmröllchen <filmroellchen@serenityos.org>2023-02-09 13:22:40 +0100
committerAndrew Kaster <andrewdkaster@gmail.com>2023-02-25 20:49:41 -0700
commitcf6676beb2a12e2b5d28bed022d51f6482feda17 (patch)
tree7d19c6a54e9aaef397ff2cd2016a82ee5b65046e /Userland/Applications/Piano/MainWidget.cpp
parent0190be97881e0bc7feb83c04c29256a7b1d3c443 (diff)
downloadserenity-cf6676beb2a12e2b5d28bed022d51f6482feda17.zip
Piano: Rename KnobsWidget to TrackControlsWidget
This more generic name will better reflect the purpose of the widget in the future, as this commit begins the long process of enhancing the widget into a container for all controls of Piano's currently selected track.
Diffstat (limited to 'Userland/Applications/Piano/MainWidget.cpp')
-rw-r--r--Userland/Applications/Piano/MainWidget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Applications/Piano/MainWidget.cpp b/Userland/Applications/Piano/MainWidget.cpp
index d60f0a3762..c7ad9050a7 100644
--- a/Userland/Applications/Piano/MainWidget.cpp
+++ b/Userland/Applications/Piano/MainWidget.cpp
@@ -8,10 +8,10 @@
#include "MainWidget.h"
#include "KeysWidget.h"
-#include "KnobsWidget.h"
#include "PlayerWidget.h"
#include "RollWidget.h"
#include "SamplerWidget.h"
+#include "TrackControlsWidget.h"
#include "TrackManager.h"
#include "WaveWidget.h"
#include <LibGUI/Action.h>
@@ -55,7 +55,7 @@ ErrorOr<void> MainWidget::initialize()
m_keys_widget = TRY(m_keys_and_knobs_container->try_add<KeysWidget>(m_track_manager.keyboard()));
- m_knobs_widget = TRY(m_keys_and_knobs_container->try_add<KnobsWidget>(m_track_manager, *this));
+ m_knobs_widget = TRY(m_keys_and_knobs_container->try_add<TrackControlsWidget>(m_track_manager, *this));
m_roll_widget->set_keys_widget(m_keys_widget);