[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: Re: kdenonbeta/kio_mhtml
From: David Faure <faure () kde ! org>
Date: 2005-01-12 12:26:46
Message-ID: 200501121326.47003.faure () kde ! org
[Download RAW message or body]
On Wednesday 12 January 2005 09:14, Frerich Raabe wrote:
> On Monday 10 January 2005 17:29, Spiros Georgaras wrote:
>
> [I'm not quoting the relevant code excerpt here since that looks awful in
> KMail.]
>
> All your checks like 'fullPath.right(4).lower()==".mht"' could nicely get
> replaced with 'fullPath.endsWith( ".mht", false );' (the second parameter
> meaning 'no case-sensitive comparison').
Or using KMimeType instead of hardcoded extensions checks :)
--
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