Spelling :-(
This commit is contained in:
committed by
craig.p.drummond
parent
628f073b51
commit
7ed5f42056
@@ -65,8 +65,8 @@ AlbumView::AlbumView(QWidget *p)
|
||||
refreshAction = ActionCollection::get()->createAction("refreshalbum", i18n("Refresh Album Information"), "view-refresh");
|
||||
connect(refreshAction, SIGNAL(triggered()), SLOT(refresh()));
|
||||
connect(engine, SIGNAL(searchResult(QString,QString)), this, SLOT(searchResponse(QString,QString)));
|
||||
connect(Covers::self(), SIGNAL(cover(const Song &, const QImage &, const QString &)), SLOT(coverRetreived(const Song &, const QImage &, const QString &)));
|
||||
connect(Covers::self(), SIGNAL(coverUpdated(const Song &, const QImage &, const QString &)), SLOT(coverRetreived(const Song &, const QImage &, const QString &)));
|
||||
connect(Covers::self(), SIGNAL(cover(const Song &, const QImage &, const QString &)), SLOT(coverRetrieved(const Song &, const QImage &, const QString &)));
|
||||
connect(Covers::self(), SIGNAL(coverUpdated(const Song &, const QImage &, const QString &)), SLOT(coverRetrieved(const Song &, const QImage &, const QString &)));
|
||||
connect(text, SIGNAL(anchorClicked(QUrl)), SLOT(playSong(QUrl)));
|
||||
text->setContextMenuPolicy(Qt::CustomContextMenu);
|
||||
connect(text, SIGNAL(customContextMenuRequested(QPoint)), this, SLOT(showContextMenu(QPoint)));
|
||||
@@ -212,7 +212,7 @@ void AlbumView::getDetails()
|
||||
engine->search(QStringList() << currentSong.albumArtist() << currentSong.album, ContextEngine::Album);
|
||||
}
|
||||
|
||||
void AlbumView::coverRetreived(const Song &s, const QImage &img, const QString &file)
|
||||
void AlbumView::coverRetrieved(const Song &s, const QImage &img, const QString &file)
|
||||
{
|
||||
Q_UNUSED(file)
|
||||
if (s==currentSong && pic.isEmpty()) {
|
||||
|
||||
@@ -49,7 +49,7 @@ Q_SIGNALS:
|
||||
void playSong(const QString &file);
|
||||
|
||||
public Q_SLOTS:
|
||||
void coverRetreived(const Song &s, const QImage &img, const QString &file);
|
||||
void coverRetrieved(const Song &s, const QImage &img, const QString &file);
|
||||
void playSong(const QUrl &u);
|
||||
void artistBio(const QString &artist, const QString &b);
|
||||
|
||||
|
||||
@@ -138,8 +138,8 @@ CoverWidget::CoverWidget(QWidget *parent)
|
||||
, valid(false)
|
||||
, pressed(false)
|
||||
{
|
||||
connect(Covers::self(), SIGNAL(cover(const Song &, const QImage &, const QString &)), SLOT(coverRetreived(const Song &, const QImage &, const QString &)));
|
||||
connect(Covers::self(), SIGNAL(coverUpdated(const Song &, const QImage &, const QString &)), SLOT(coverRetreived(const Song &, const QImage &, const QString &)));
|
||||
connect(Covers::self(), SIGNAL(cover(const Song &, const QImage &, const QString &)), SLOT(coverRetrieved(const Song &, const QImage &, const QString &)));
|
||||
connect(Covers::self(), SIGNAL(coverUpdated(const Song &, const QImage &, const QString &)), SLOT(coverRetrieved(const Song &, const QImage &, const QString &)));
|
||||
installEventFilter(this);
|
||||
QTimer::singleShot(0, this, SLOT(init())); // Need to do this after constructed, so that size is set....
|
||||
setStyleSheet(QString("QLabel {border: %1px solid transparent} QToolTip {background-color:#111111; color: #DDDDDD}").arg(constBorder));
|
||||
@@ -223,7 +223,7 @@ void CoverWidget::init()
|
||||
update(stdPixmap(false));
|
||||
}
|
||||
|
||||
void CoverWidget::coverRetreived(const Song &s, const QImage &img, const QString &file)
|
||||
void CoverWidget::coverRetrieved(const Song &s, const QImage &img, const QString &file)
|
||||
{
|
||||
if (!s.isArtistImageRequest() && s.albumArtist()==current.albumArtist() && s.album==current.album) {
|
||||
valid=!img.isNull();
|
||||
|
||||
@@ -54,7 +54,7 @@ Q_SIGNALS:
|
||||
|
||||
private Q_SLOTS:
|
||||
void init();
|
||||
void coverRetreived(const Song &s, const QImage &img, const QString &file);
|
||||
void coverRetrieved(const Song &s, const QImage &img, const QString &file);
|
||||
|
||||
private:
|
||||
const QPixmap & stdPixmap(bool stream);
|
||||
|
||||
Reference in New Issue
Block a user