Add const/references to all signal parameters
This commit is contained in:
@@ -58,8 +58,8 @@ class TidalStreamURLRequest : public TidalBaseRequest {
|
||||
|
||||
signals:
|
||||
void TryLogin();
|
||||
void StreamURLFailure(uint id, QUrl original_url, QString error);
|
||||
void StreamURLSuccess(uint id, QUrl original_url, QUrl stream_url, Song::FileType filetype, int samplerate = -1, int bit_depth = -1, qint64 duration = -1);
|
||||
void StreamURLFailure(const uint id, const QUrl &original_url, const QString &error);
|
||||
void StreamURLSuccess(const uint id, const QUrl &original_url, const QUrl &stream_url, const Song::FileType filetype, const int samplerate = -1, const int bit_depth = -1, const qint64 duration = -1);
|
||||
|
||||
private slots:
|
||||
void StreamURLReceived();
|
||||
|
||||
Reference in New Issue
Block a user