File BMC13246_0002-Changes-Code-cosmetics.-Removing-trailing-whitespace.patch of Package libmeegotouch
From d72e79c200c9001c3ad5164892084ff72342ca9a Mon Sep 17 00:00:00 2001
From: Daniel d'Andrada <daniel.dandrada@nokia.com>
Date: Fri, 18 Mar 2011 10:24:47 +0200
Subject: [PATCH 2/9] Changes: Code cosmetics. Removing trailing whitespaces
RevBy: TrustMe
---
src/corelib/workspace/mdeviceprofile.cpp | 4 ++--
src/corelib/workspace/mdeviceprofile.h | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/corelib/workspace/mdeviceprofile.cpp b/src/corelib/workspace/mdeviceprofile.cpp
index 8617c13..c0cc3b7 100644
--- a/src/corelib/workspace/mdeviceprofile.cpp
+++ b/src/corelib/workspace/mdeviceprofile.cpp
@@ -132,7 +132,7 @@ bool MDeviceProfilePrivate::load(const QString& filename)
pixelsPerMmF = pixelsPerInch.width() / mmPerInch;
pixelsPerPt = pixelsPerInch.height() / pointsPerInch;
pixelsPerPtF = pixelsPerInch.height() / pointsPerInch;
-
+
if (settings.value("/other/showStatusBar").toString() == "autodetect")
showStatusBar = hasStatusbarProvider();
else
@@ -301,7 +301,7 @@ int MDeviceProfile::ptToPixels(qreal pt)
return pt * d->pixelsPerPt;
}
-qreal MDeviceProfile::ptToPixelsF(qreal pt)
+qreal MDeviceProfile::ptToPixelsF(qreal pt)
{
Q_D(const MDeviceProfile);
return pt * d->pixelsPerPtF;
diff --git a/src/corelib/workspace/mdeviceprofile.h b/src/corelib/workspace/mdeviceprofile.h
index 5a2dd7d..f7624dc 100644
--- a/src/corelib/workspace/mdeviceprofile.h
+++ b/src/corelib/workspace/mdeviceprofile.h
@@ -89,7 +89,7 @@ public:
//! Returns the result of pixels to points conversion
int pixelsToPt(int pixels);
-
+
//! Returns the result of pixels to points conversion
qreal pixelsToPtF(qreal pixels);
--
1.7.2.2