summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAnders Bakken <anders.bakken@nokia.com>2009-09-04 16:32:48 (GMT)
committerAnders Bakken <anders.bakken@nokia.com>2009-09-04 16:32:48 (GMT)
commitfed648982967b2270e16642332d4a9c371babcf9 (patch)
tree83f8d84a7197c5c50a6509c68c94f19ec09006fa /src
parentad8f02a5a0ea11fa38e068a32470e1462e6b723c (diff)
downloadQt-fed648982967b2270e16642332d4a9c371babcf9.zip
Qt-fed648982967b2270e16642332d4a9c371babcf9.tar.gz
Qt-fed648982967b2270e16642332d4a9c371babcf9.tar.bz2
Remove unused function in QDFBScreen
Reviewed-by: Donald Carr <donald.carr@nokia.com>
Diffstat (limited to 'src')
-rw-r--r--src/plugins/gfxdrivers/directfb/qdirectfbscreen.cpp5
-rw-r--r--src/plugins/gfxdrivers/directfb/qdirectfbscreen.h1
2 files changed, 0 insertions, 6 deletions
diff --git a/src/plugins/gfxdrivers/directfb/qdirectfbscreen.cpp b/src/plugins/gfxdrivers/directfb/qdirectfbscreen.cpp
index 211e8a5..e071d63 100644
--- a/src/plugins/gfxdrivers/directfb/qdirectfbscreen.cpp
+++ b/src/plugins/gfxdrivers/directfb/qdirectfbscreen.cpp
@@ -1568,11 +1568,6 @@ void QDirectFBScreen::solidFill(const QColor &color, const QRegion &region)
#endif
}
-void QDirectFBScreen::erase(const QRegion &region)
-{
- solidFill(d_ptr->backgroundColor, region);
-}
-
QImage::Format QDirectFBScreen::alphaPixmapFormat() const
{
return d_ptr->alphaPixmapFormat;
diff --git a/src/plugins/gfxdrivers/directfb/qdirectfbscreen.h b/src/plugins/gfxdrivers/directfb/qdirectfbscreen.h
index 0ce7a53..46d06ef 100644
--- a/src/plugins/gfxdrivers/directfb/qdirectfbscreen.h
+++ b/src/plugins/gfxdrivers/directfb/qdirectfbscreen.h
@@ -215,7 +215,6 @@ public:
void flipSurface(IDirectFBSurface *surface, DFBSurfaceFlipFlags flipFlags,
const QRegion &region, const QPoint &offset);
void releaseDFBSurface(IDirectFBSurface *surface);
- void erase(const QRegion &region);
using QScreen::depth;
static int depth(DFBSurfacePixelFormat format);