Re: KFileItem optimization
David Faure <[email protected]> Mon, 5 Jan 2009 21:55:47 +0100
| Newsgroups | gmane.comp.kde.devel.optimize |
|---|---|
| Organization | KDE |
| Message-ID | <[email protected]> |
On Monday 05 January 2009, David Faure wrote:
> Can you check the performance with this new patch?
I missed the kmimetype_p.h change (I reverted too much when reverting an unrelated change before diffing).
--- services/kmimetype_p.h (revision 906276)
+++ services/kmimetype_p.h (working copy)
@@ -49,7 +49,7 @@
return icon;
}
- bool inherits(KMimeType::Ptr mime) const;
+ bool inherits(const QString& mime) const;
QString fallbackParent() const;
QStringList parentMimeTypes() const;
void collectParentMimeTypes(QStringList&) const;
--
David Faure, [email protected], sponsored by Qt Software @ Nokia to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).