Commit 3c041253 authored by Frederik Gladhorn's avatar Frederik Gladhorn

Remove unused variables

parent d5809571
......@@ -123,7 +123,6 @@ struct ThumbnailBarItemDelegatePrivate
void updateHoverUi(const QModelIndex& index)
{
QModelIndex oldIndex = mIndexUnderCursor;
mIndexUnderCursor = index;
if (mIndexUnderCursor.isValid()) {
......
......@@ -577,7 +577,6 @@ void ThumbnailView::setBrokenThumbnail(const KFileItem& item)
// Special case for videos because our kde install may come without
// support for video thumbnails so we show the mimetype icon instead of
// a broken image icon
ThumbnailGroup::Enum group = ThumbnailGroup::fromPixelSize(d->mThumbnailSize.height());
QPixmap pix = KIconLoader::global()->loadMimeTypeIcon(item.iconName(), KIconLoader::Desktop, d->mThumbnailSize.height());
thumbnail.initAsIcon(pix);
} else if (kind == MimeTypeUtils::KIND_DIR) {
......
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