mirror of
https://github.com/clementine-player/Clementine
synced 2025-01-27 09:41:32 +01:00
Make format
This commit is contained in:
parent
7e9f8d75c6
commit
5e5738f642
@ -371,7 +371,7 @@ int InternetModel::FindItemPosition(const QString& text) {
|
||||
int a = 0;
|
||||
int b = invisibleRootItem()->rowCount() - 1;
|
||||
while (a <= b) {
|
||||
int mid = a + (b - a)/2;
|
||||
int mid = a + (b - a) / 2;
|
||||
if (invisibleRootItem()->child(mid, 0)->text() < text) {
|
||||
a = mid + 1;
|
||||
} else {
|
||||
|
@ -245,10 +245,11 @@ DigitallyImportedService::DigitallyImportedService(Application* app,
|
||||
"di", app, model, true, parent) {}
|
||||
|
||||
RadioTunesService::RadioTunesService(Application* app, InternetModel* model,
|
||||
QObject* parent)
|
||||
: DigitallyImportedServiceBase(
|
||||
"RadioTunes", "RadioTunes.com", QUrl("http://www.radiotunes.com/"),
|
||||
QIcon(":/providers/radiotunes.png"), "radiotunes", app, model, true, parent) {}
|
||||
QObject* parent)
|
||||
: DigitallyImportedServiceBase("RadioTunes", "RadioTunes.com",
|
||||
QUrl("http://www.radiotunes.com/"),
|
||||
QIcon(":/providers/radiotunes.png"),
|
||||
"radiotunes", app, model, true, parent) {}
|
||||
|
||||
JazzRadioService::JazzRadioService(Application* app, InternetModel* model,
|
||||
QObject* parent)
|
||||
|
@ -67,7 +67,7 @@ class DigitallyImportedServiceBase : public InternetService {
|
||||
public slots:
|
||||
void ShowSettingsDialog();
|
||||
|
||||
signals:
|
||||
signals:
|
||||
void StreamsChanged();
|
||||
|
||||
private slots:
|
||||
@ -120,7 +120,7 @@ class DigitallyImportedService : public DigitallyImportedServiceBase {
|
||||
class RadioTunesService : public DigitallyImportedServiceBase {
|
||||
public:
|
||||
RadioTunesService(Application* app, InternetModel* model,
|
||||
QObject* parent = nullptr);
|
||||
QObject* parent = nullptr);
|
||||
};
|
||||
|
||||
class JazzRadioService : public DigitallyImportedServiceBase {
|
||||
|
Loading…
x
Reference in New Issue
Block a user