From e1f2a0bb29b86336aab930894c85ed7bd26e4848 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 27 Sep 2014 20:43:21 -0500 Subject: [PATCH] Fix accidental regression introduced in prior commit --- tdeio/tdeio/tdefileitem.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/tdeio/tdeio/tdefileitem.cpp b/tdeio/tdeio/tdefileitem.cpp index 0b3b020fb..98013f1aa 100644 --- a/tdeio/tdeio/tdefileitem.cpp +++ b/tdeio/tdeio/tdefileitem.cpp @@ -621,11 +621,7 @@ TQString KFileItem::iconName() KURL url = mostLocalURL(isLocalURL); //kdDebug() << "finding icon for " << url.url() << " : " << m_pMimeType->name() << endl; - if ( !d ) { - d = new KFileItemPrivate(); - } - d->iconName = determineMimeType()->icon(url, isLocalURL); - return d->iconName; + return determineMimeType()->icon(url, isLocalURL); } int KFileItem::overlays() const