summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorAnders Bakken <anders.bakken@nokia.com>2009-04-29 02:17:19 (GMT)
committerAnders Bakken <anders.bakken@nokia.com>2009-04-29 02:59:49 (GMT)
commit063d9a01fee83a2753063ff5117d8d84cf219aa3 (patch)
tree24bde4ee13ca921346300b88472374c0f7fb8050 /src/plugins
parenta2397ff9d22c9e66453601226ddb6fc506ea05c0 (diff)
downloadQt-063d9a01fee83a2753063ff5117d8d84cf219aa3.zip
Qt-063d9a01fee83a2753063ff5117d8d84cf219aa3.tar.gz
Qt-063d9a01fee83a2753063ff5117d8d84cf219aa3.tar.bz2
Remove superfluous call to base class
Make code more readable by not chaining to QScreenCursor for hide/show. Since hwaccel is true we don't need the exposeRegion call anyway. Reviewed-by: TrustMe
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/gfxdrivers/directfb/qdirectfbscreen.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/gfxdrivers/directfb/qdirectfbscreen.cpp b/src/plugins/gfxdrivers/directfb/qdirectfbscreen.cpp
index b01e1be..a53b1c0 100644
--- a/src/plugins/gfxdrivers/directfb/qdirectfbscreen.cpp
+++ b/src/plugins/gfxdrivers/directfb/qdirectfbscreen.cpp
@@ -568,7 +568,7 @@ void QDirectFBScreenCursor::move(int x, int y)
void QDirectFBScreenCursor::hide()
{
if (enable) {
- QScreenCursor::hide();
+ enable = false;
DFBResult result;
result = layer->SetCooperativeLevel(layer, DLSCL_ADMINISTRATIVE);
if (result != DFB_OK) {
@@ -591,7 +591,7 @@ void QDirectFBScreenCursor::hide()
void QDirectFBScreenCursor::show()
{
if (!enable) {
- QScreenCursor::show();
+ enable = true;
DFBResult result;
result = layer->SetCooperativeLevel(layer, DLSCL_ADMINISTRATIVE);
if (result != DFB_OK) {