summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2014-09-27 20:43:21 -0500
committerTimothy Pearson <[email protected]>2014-09-27 20:43:21 -0500
commite1f2a0bb29b86336aab930894c85ed7bd26e4848 (patch)
treef0820f02e9b714b85f4699f71dfc3c7b4a2ed431
parenta21cb20628b557c569f3066aa4d4ad4bedc9959c (diff)
downloadtdelibs-e1f2a0bb29b86336aab930894c85ed7bd26e4848.tar.gz
tdelibs-e1f2a0bb29b86336aab930894c85ed7bd26e4848.zip
Fix accidental regression introduced in prior commit
-rw-r--r--tdeio/tdeio/tdefileitem.cpp6
1 files changed, 1 insertions, 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