[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: [Patch] for kdebase/kfind
From:       David Faure <faure () kde ! org>
Date:       2005-11-21 15:24:11
Message-ID: 200511211624.11792.faure () kde ! org
[Download RAW message or body]

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 \
returnednon-mimetype servicetypes. Fixed (and added unit test).Please don't commit \
                the hack.
-- David Faure, faure@kde.org, sponsored by Trolltech to work on KDE,Konqueror \
(http://www.konqueror.org), and KOffice (http://www.koffice.org).


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic