Fix opening the Spotify config dialog from the context menu.

This commit is contained in:
John Maguire 2011-04-29 18:56:17 +00:00
parent 0b4368aece
commit a1e06e6596
2 changed files with 7 additions and 0 deletions

View File

@ -411,3 +411,8 @@ void SpotifyService::ImageLoaded(const QString& id, const QImage& image) {
qLog(Debug) << "Image loaded:" << id;
emit ImageLoaded(QUrl("spotify://image/" + id), image);
}
void SpotifyService::ShowConfig() {
emit OpenSettingsAtPage(SettingsDialog::Page_Spotify);
}

View File

@ -81,6 +81,8 @@ private slots:
void OpenSearchTab();
void DoSearch();
void ShowConfig();
private:
SpotifyServer* server_;
SpotifyUrlHandler* url_handler_;