From 172c494cff83cdf2ab11628a2e05fb8500739d17 Mon Sep 17 00:00:00 2001 From: Pino Toscano Date: Thu, 9 Jun 2016 10:57:48 +0200 Subject: [PATCH] remove extra ';' --- src/imageformats/psd.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/imageformats/psd.cpp b/src/imageformats/psd.cpp index 394a339..d5cbfc2 100644 --- a/src/imageformats/psd.cpp +++ b/src/imageformats/psd.cpp @@ -120,19 +120,19 @@ static quint8 readPixel(QDataStream &stream) { quint8 pixel; stream >> pixel; return pixel; -}; +} static QRgb updateRed(QRgb oldPixel, quint8 redPixel) { return qRgba(redPixel, qGreen(oldPixel), qBlue(oldPixel), qAlpha(oldPixel)); -}; +} static QRgb updateGreen(QRgb oldPixel, quint8 greenPixel) { return qRgba(qRed(oldPixel), greenPixel, qBlue(oldPixel), qAlpha(oldPixel)); -}; +} static QRgb updateBlue(QRgb oldPixel, quint8 bluePixel) { return qRgba(qRed(oldPixel), qGreen(oldPixel), bluePixel, qAlpha(oldPixel)); -}; +} static QRgb updateAlpha(QRgb oldPixel, quint8 alphaPixel) { return qRgba(qRed(oldPixel), qGreen(oldPixel), qBlue(oldPixel), alphaPixel); -}; +} typedef QRgb(*channelUpdater)(QRgb,quint8); // Load the PSD image.