summaryrefslogtreecommitdiffstats
path: root/kio
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-09-27 20:43:21 -0500
committerSlávek Banko <slavek.banko@axis.cz>2015-12-23 02:22:48 +0100
commit52109a5ac7aa02bbabca9981b23393b829c62c33 (patch)
treee607ab1cccf0b2b42988a325dc3e54c83efa5be5 /kio
parentf52fdb1b4a8dcf4139751c24696d90b0fb542a19 (diff)
downloadtdelibs-52109a5ac7aa02bbabca9981b23393b829c62c33.tar.gz
tdelibs-52109a5ac7aa02bbabca9981b23393b829c62c33.zip
Fix accidental regression introduced in prior commit
(cherry picked from commit e1f2a0bb29b86336aab930894c85ed7bd26e4848)
Diffstat (limited to 'kio')
-rw-r--r--kio/kio/kfileitem.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/kio/kio/kfileitem.cpp b/kio/kio/kfileitem.cpp
index 5504ca079..256e47ac1 100644
--- a/kio/kio/kfileitem.cpp
+++ b/kio/kio/kfileitem.cpp
@@ -588,11 +588,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