removed useless slot, made the disabled scrobbling icon a little lighter
This commit is contained in:
parent
b799543272
commit
d10d1913cb
Binary file not shown.
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.3 KiB |
@ -403,7 +403,8 @@ bool LastFMService::InitScrobbler() {
|
|||||||
if (!scrobbler_)
|
if (!scrobbler_)
|
||||||
scrobbler_ = new lastfm::Audioscrobbler(kAudioscrobblerClientId);
|
scrobbler_ = new lastfm::Audioscrobbler(kAudioscrobblerClientId);
|
||||||
|
|
||||||
connect(scrobbler_, SIGNAL(status(int)), SLOT(Status(int)));
|
//reemit the signal since the sender is private
|
||||||
|
connect(scrobbler_, SIGNAL(status(int)), SIGNAL(ScrobblerStatus(int)));
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -799,8 +800,3 @@ void LastFMService::ToggleScrobbling() {
|
|||||||
|
|
||||||
emit ScrobblingEnabledChanged(scrobbling_enabled_);
|
emit ScrobblingEnabledChanged(scrobbling_enabled_);
|
||||||
}
|
}
|
||||||
|
|
||||||
void LastFMService::Status(int value) {
|
|
||||||
//reemit it since the sender is private
|
|
||||||
emit ScrobblerStatus(value);
|
|
||||||
}
|
|
||||||
|
@ -131,8 +131,6 @@ class LastFMService : public RadioService {
|
|||||||
void TunerTrackAvailable();
|
void TunerTrackAvailable();
|
||||||
void TunerError(lastfm::ws::Error error);
|
void TunerError(lastfm::ws::Error error);
|
||||||
|
|
||||||
void Status(int value);
|
|
||||||
|
|
||||||
void AddArtistRadio();
|
void AddArtistRadio();
|
||||||
void AddTagRadio();
|
void AddTagRadio();
|
||||||
void AddCustomRadio();
|
void AddCustomRadio();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user