Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 54a946b3 authored by Michael Pyne's avatar Michael Pyne

Remove dead code from JuK web image fetcher

svn path=/trunk/KDE/kdemultimedia/juk/; revision=933984
parent b0faaf4a
......@@ -181,25 +181,6 @@ void WebImageFetcherDialog::slotCancel()
reject();
}
QPixmap WebImageFetcherDialog::fetchedImage(int index) const
{
return (index > m_imageList.count()) ? QPixmap() : pixmapFromURL(m_imageList[index].imageURL());
}
QPixmap WebImageFetcherDialog::pixmapFromURL(const KUrl &url) const
{
QString file;
if(KIO::NetAccess::download(url, file, 0)) {
QPixmap pixmap = QPixmap(file);
KIO::NetAccess::removeTempFile(file);
return pixmap;
}
KIO::NetAccess::removeTempFile(file);
return QPixmap();
}
////////////////////////////////////////////////////////////////////////////////
// CoverIconViewItem
////////////////////////////////////////////////////////////////////////////////
......
......@@ -64,9 +64,6 @@ protected slots:
void selectedItemIsBad();
private:
QPixmap fetchedImage(int index) const;
QPixmap pixmapFromURL(const KUrl &url) const;
QPixmap m_pixmap;
WebImageList m_imageList;
QListView *m_iconWidget;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment