[Patch] for kdebase/kfind
Christian Ehrlicher
Ch.Ehrlicher at gmx.de
Tue Nov 22 16:40:14 GMT 2005
David Faure schrieb:
> On Saturday 19 November 2005 20:32, Christian Ehrlicher wrote:
>
>> KMimeType::Ptr typ = *it;
>>- typeBox->insertItem(typ->pixmap( KIcon::Small ), typ->comment());
>>+#ifdef _MSC_VER
>>+ // don't know why, but in those three mimetypes,
>>+ // typ->pixmap() crashes...
>>+ if ( typ->name() == "KDataTool" ||
>>+ typ->name() == "KPropsDlg/Plugin" ||
>>+ typ->name() == "RenameDlg/Plugin" )
>>+ continue;
>>+#endif
>
>
> Those are non-mimetype servicetypes.
> Ah, I see, KMimeType::allMimeTypes() had a bug, it also returned
> non-mimetype servicetypes. Fixed (and added unit test).
> Please don't commit the hack.
Thx :)
Here an updated which which only replaces Q3PtrList<T> by QList<T*>
Christian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kfind.patch
Type: text/x-diff
Size: 1447 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20051122/73d1e8c9/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20051122/73d1e8c9/attachment.sig>
More information about the kde-core-devel
mailing list