summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorAnders Bakken <anders.bakken@nokia.com>2009-04-28 19:17:19 -0700
committerAnders Bakken <anders.bakken@nokia.com>2009-04-28 19:59:49 -0700
commit063d9a01fee83a2753063ff5117d8d84cf219aa3 (patch)
tree24bde4ee13ca921346300b88472374c0f7fb8050 /src/plugins
parenta2397ff9d22c9e66453601226ddb6fc506ea05c0 (diff)
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 b01e1beaac..a53b1c0a85 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) {