summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/phonon/mmf/utils.cpp
diff options
context:
space:
mode:
authorFrans Englich <frans.englich@nokia.com>2009-10-15 09:31:11 (GMT)
committerFrans Englich <frans.englich@nokia.com>2009-10-15 09:31:11 (GMT)
commit104adfdb63ec3bfe0afafea5278c45ebb873065d (patch)
tree77d4ea414806dbf7784abceaa684364e11b5dbf8 /src/3rdparty/phonon/mmf/utils.cpp
parent3f1f0210cefaa3523c8d2cd5ead4bdbd5d92a68a (diff)
downloadQt-104adfdb63ec3bfe0afafea5278c45ebb873065d.zip
Qt-104adfdb63ec3bfe0afafea5278c45ebb873065d.tar.gz
Qt-104adfdb63ec3bfe0afafea5278c45ebb873065d.tar.bz2
sed -i -e 's/if(/if (/g' `find -name "*.cpp" -or -name "*.h" -or -name
"*.pro"`
Diffstat (limited to 'src/3rdparty/phonon/mmf/utils.cpp')
-rw-r--r--src/3rdparty/phonon/mmf/utils.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/3rdparty/phonon/mmf/utils.cpp b/src/3rdparty/phonon/mmf/utils.cpp
index 607f938..bc1c424 100644
--- a/src/3rdparty/phonon/mmf/utils.cpp
+++ b/src/3rdparty/phonon/mmf/utils.cpp
@@ -111,7 +111,7 @@ QColor MMF::Utils::getScreenPixel(const QPoint& pos)
TScreenInfo info;
TRAPD(err, getScreenInfoL(info));
QColor pixel;
- if(err == KErrNone and pos.x() < info.width and pos.y() < info.height)
+ if (err == KErrNone and pos.x() < info.width and pos.y() < info.height)
{
const int bytesPerPixel = info.bpp / 8;
Q_ASSERT(bytesPerPixel >= 3);
@@ -129,7 +129,7 @@ QColor MMF::Utils::getScreenPixel(const QPoint& pos)
pixel.setGreen(*ptr++);
pixel.setRed(*ptr++);
- if(bytesPerPixel == 4)
+ if (bytesPerPixel == 4)
pixel.setAlpha(*ptr++);
}
return pixel;