summaryrefslogtreecommitdiffstats
path: root/src/gui/embedded
diff options
context:
space:
mode:
authorBernhard Rosenkraenzer <br@blankpage.ch>2010-04-08 14:20:46 (GMT)
committerTom Cooksey <thomas.cooksey@nokia.com>2010-04-08 14:34:53 (GMT)
commit806f0c05ec590d2d8ad0b5e0a6b2b22c76c4d871 (patch)
tree73f1872ab330cdb01bde4ede2c71f382a4b99922 /src/gui/embedded
parentf1c3756ff7fae9caea84b70dfda139757a0ef98d (diff)
downloadQt-806f0c05ec590d2d8ad0b5e0a6b2b22c76c4d871.zip
Qt-806f0c05ec590d2d8ad0b5e0a6b2b22c76c4d871.tar.gz
Qt-806f0c05ec590d2d8ad0b5e0a6b2b22c76c4d871.tar.bz2
Adjust indentation
Adjust indentation to match the rest of the file Merge-request: 417 Reviewed-by: Tom Cooksey <thomas.cooksey@nokia.com>
Diffstat (limited to 'src/gui/embedded')
-rw-r--r--src/gui/embedded/qscreenlinuxfb_qws.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/gui/embedded/qscreenlinuxfb_qws.cpp b/src/gui/embedded/qscreenlinuxfb_qws.cpp
index 16ea4dd..1effcfa 100644
--- a/src/gui/embedded/qscreenlinuxfb_qws.cpp
+++ b/src/gui/embedded/qscreenlinuxfb_qws.cpp
@@ -1242,16 +1242,16 @@ void QLinuxFbScreen::setDirty(const QRect &r)
{
if(d_ptr->driverType == EInk8Track) {
// e-Ink displays need a trigger to actually show what is
- // in their framebuffer memory. The 8-Track driver does this
- // by adding custom IOCTLs - FBIO_EINK_DISP_PIC (0x46a2) takes
- // an argument specifying whether or not to flash the screen
- // while updating.
- // There doesn't seem to be a way to tell it to just update
- // a subset of the screen.
- if(r.left() == 0 && r.top() == 0 && r.width() == dw && r.height() == dh)
- ioctl(d_ptr->fd, 0x46a2, 1);
- else
- ioctl(d_ptr->fd, 0x46a2, 0);
+ // in their framebuffer memory. The 8-Track driver does this
+ // by adding custom IOCTLs - FBIO_EINK_DISP_PIC (0x46a2) takes
+ // an argument specifying whether or not to flash the screen
+ // while updating.
+ // There doesn't seem to be a way to tell it to just update
+ // a subset of the screen.
+ if(r.left() == 0 && r.top() == 0 && r.width() == dw && r.height() == dh)
+ ioctl(d_ptr->fd, 0x46a2, 1);
+ else
+ ioctl(d_ptr->fd, 0x46a2, 0);
}
}