diff options
Diffstat (limited to 'src/library/autodj/dlgautodj.h')
-rw-r--r-- | src/library/autodj/dlgautodj.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/library/autodj/dlgautodj.h b/src/library/autodj/dlgautodj.h index f8eaf608c3..28697287d5 100644 --- a/src/library/autodj/dlgautodj.h +++ b/src/library/autodj/dlgautodj.h @@ -32,7 +32,7 @@ class DlgAutoDJ : public QWidget, public Ui::DlgAutoDJ, public LibraryView { bool hasFocus() const override; void onSearch(const QString& text) override; void loadSelectedTrack() override; - void loadSelectedTrackToGroup(QString group, bool play) override; + void loadSelectedTrackToGroup(const QString& group, bool play) override; void moveSelection(int delta) override; public slots: @@ -50,13 +50,13 @@ class DlgAutoDJ : public QWidget, public Ui::DlgAutoDJ, public LibraryView { signals: void addRandomTrackButton(bool buttonChecked); void loadTrack(TrackPointer tio); - void loadTrackToPlayer(TrackPointer tio, QString group, bool); + void loadTrackToPlayer(TrackPointer tio, const QString& group, bool); void trackSelected(TrackPointer pTrack); private: void setupActionButton(QPushButton* pButton, void (DlgAutoDJ::*pSlot)(bool), - QString fallbackText); + const QString& fallbackText); const UserSettingsPointer m_pConfig; |