digikam/digikam-5.0.0_beta4-upstream-fix-1.patch

39 lines
1.2 KiB
Diff

From: Gilles Caulier <caulier.gilles@gmail.com>
Date: Wed, 02 Mar 2016 04:55:26 +0000
Subject: Remove unused method since panorama and expoblending tools are moved to DK core
X-Git-Url: http://quickgit.kde.org/?p=digikam.git&a=commitdiff&h=0cdafd38a0759c5751cf7b5c81417e6c427be372
---
Remove unused method since panorama and expoblending tools are moved to DK core
BUGS: 359897
FIXED-IN: 5.0.0
---
--- a/utilities/kdesupport/kipi/kipiinterface.cpp
+++ b/utilities/kdesupport/kipi/kipiinterface.cpp
@@ -581,23 +581,6 @@
return( decoder.loadRawPreview(image, url.toLocalFile()) );
}
- uint decodeRawImage(const QUrl& url, QByteArray& imageData, int& width, int& height, int& rgbmax)
- {
- DRawDecoderSettings settings;
- KSharedConfig::Ptr config = KSharedConfig::openConfig();
- KConfigGroup group = config->group(QLatin1String("ImageViewer Settings"));
- DRawDecoderWidget::readSettings(settings, group);
-
- if (decoder.decodeRAWImage(url.toLocalFile(), settings, imageData, width, height, rgbmax))
- return settings.sixteenBitsImage ? 16 : 8;
-
- return 0;
- }
-
- void cancel()
- {
- }
-
bool isRawFile(const QUrl& url)
{
return (decoder.isRawFile(url));