From kde-commits Mon Oct 22 02:56:07 2007 From: Clarence Dang Date: Mon, 22 Oct 2007 02:56:07 +0000 To: kde-commits Subject: KDE/kdegraphics/kolourpaint/document (silent) Message-Id: <1193021767.580514.21181.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=119302177617203 SVN commit 727908 by dang: SVN_SILENT style M +3 -3 kpDocumentSaveOptions.cpp --- trunk/KDE/kdegraphics/kolourpaint/document/kpDocumentSaveOptions.cpp #727907:727908 @@ -452,12 +452,12 @@ // SYNC: update mime info here - // Greyscale actually (unenforced since depth not set to configurable) + // Grayscale actually (unenforced since depth not set to configurable) defaultList << QLatin1String ("image/x-eps:32"); defaultList << QLatin1String ("image/x-portable-bitmap:1"); - // Greyscale actually (unenforced since depth not set to configurable) + // Grayscale actually (unenforced since depth not set to configurable) defaultList << QLatin1String ("image/x-portable-graymap:8"); defaultList << QLatin1String ("image/x-xbitmap:1"); @@ -551,7 +551,7 @@ } if (mimeTypeHasConfigurableColorDepth () && - !colorDepthIsInvalid () /*TODO: prevent*/ && + !colorDepthIsInvalid () /*REFACTOR: guarantee it is valid*/ && (colorDepth () < pixmap.depth () || colorDepth () < 32 && kpPixmapFX::hasMask (pixmap))) {