mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2025-01-21 13:16:22 +01:00
InternetService: Change parameters to const
This commit is contained in:
parent
1c0b706b94
commit
c48c65d0ce
@ -26,7 +26,7 @@
|
|||||||
|
|
||||||
class Application;
|
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),
|
: QObject(parent),
|
||||||
app_(app),
|
app_(app),
|
||||||
source_(source),
|
source_(source),
|
||||||
|
@ -41,7 +41,7 @@ class InternetService : public QObject {
|
|||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
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 {}
|
~InternetService() override {}
|
||||||
virtual void Exit() {}
|
virtual void Exit() {}
|
||||||
|
Loading…
Reference in New Issue
Block a user