mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2025-01-02 19:47:16 +01:00
InternetService: Change parameters to const
This commit is contained in:
parent
1c0b706b94
commit
c48c65d0ce
@ -26,7 +26,7 @@
|
||||
|
||||
class Application;
|
||||
|
||||
InternetService::InternetService(Song::Source source, const QString &name, const QString &url_scheme, const QString &settings_group, SettingsDialog::Page settings_page, Application *app, QObject *parent)
|
||||
InternetService::InternetService(const Song::Source source, const QString &name, const QString &url_scheme, const QString &settings_group, const SettingsDialog::Page settings_page, Application *app, QObject *parent)
|
||||
: QObject(parent),
|
||||
app_(app),
|
||||
source_(source),
|
||||
|
@ -41,7 +41,7 @@ class InternetService : public QObject {
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit InternetService(Song::Source source, const QString &name, const QString &url_scheme, const QString &settings_group, SettingsDialog::Page settings_page, Application *app, QObject *parent = nullptr);
|
||||
explicit InternetService(const Song::Source source, const QString &name, const QString &url_scheme, const QString &settings_group, const SettingsDialog::Page settings_page, Application *app, QObject *parent = nullptr);
|
||||
|
||||
~InternetService() override {}
|
||||
virtual void Exit() {}
|
||||
|
Loading…
Reference in New Issue
Block a user