1
0
mirror of https://github.com/clementine-player/Clementine synced 2025-01-18 20:40:43 +01:00

removed useless slot, made the disabled scrobbling icon a little lighter

This commit is contained in:
Andrea Decorte 2011-04-08 15:35:08 +00:00
parent b799543272
commit d10d1913cb
3 changed files with 2 additions and 8 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

@ -403,7 +403,8 @@ bool LastFMService::InitScrobbler() {
if (!scrobbler_)
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;
}
@ -799,8 +800,3 @@ void LastFMService::ToggleScrobbling() {
emit ScrobblingEnabledChanged(scrobbling_enabled_);
}
void LastFMService::Status(int value) {
//reemit it since the sender is private
emit ScrobblerStatus(value);
}

View File

@ -131,8 +131,6 @@ class LastFMService : public RadioService {
void TunerTrackAvailable();
void TunerError(lastfm::ws::Error error);
void Status(int value);
void AddArtistRadio();
void AddTagRadio();
void AddCustomRadio();