KFileItem optimization

David Faure faure at kde.org
Mon Jan 5 21:55:47 CET 2009


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, faure at kde.org, sponsored by Qt Software @ Nokia to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).


More information about the Kde-optimize mailing list