summaryrefslogtreecommitdiffstats
path: root/src/mixer/playerinfo.h
diff options
context:
space:
mode:
authorJan Holthuis <jan.holthuis@ruhr-uni-bochum.de>2020-12-02 21:11:43 +0100
committerJan Holthuis <jan.holthuis@ruhr-uni-bochum.de>2020-12-02 21:11:43 +0100
commitb207bd38e1574cb75315a2c66e7a598c22fc55ca (patch)
tree05b3a58ac8261e1f43a944018e48c15171032052 /src/mixer/playerinfo.h
parent8e18359de7cfc2521045671007ec6115c150dd55 (diff)
parent532b713e0e570083c8ecd5708942cacb66835838 (diff)
Merge branch '2.3' of github.com:mixxxdj/mixxx into cleanup-headers
Diffstat (limited to 'src/mixer/playerinfo.h')
-rw-r--r--src/mixer/playerinfo.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/mixer/playerinfo.h b/src/mixer/playerinfo.h
index 2acc233570..2b06412cb0 100644
--- a/src/mixer/playerinfo.h
+++ b/src/mixer/playerinfo.h
@@ -26,18 +26,18 @@ class PlayerInfo : public QObject {
signals:
void currentPlayingDeckChanged(int deck);
void currentPlayingTrackChanged(TrackPointer pTrack);
- void trackLoaded(QString group, TrackPointer pTrack);
- void trackUnloaded(QString group, TrackPointer pTrack);
+ void trackLoaded(const QString& group, TrackPointer pTrack);
+ void trackUnloaded(const QString& group, TrackPointer pTrack);
private:
class DeckControls {
public:
- DeckControls(QString& group)
- : m_play(group, "play"),
- m_pregain(group, "pregain"),
- m_volume(group, "volume"),
- m_orientation(group, "orientation") {
- }
+ DeckControls(const QString& group)
+ : m_play(group, "play"),
+ m_pregain(group, "pregain"),
+ m_volume(group, "volume"),
+ m_orientation(group, "orientation") {
+ }
ControlProxy m_play;
ControlProxy m_pregain;