diff options
author | Anders Bakken <anders.bakken@nokia.com> | 2009-07-13 18:44:24 (GMT) |
---|---|---|
committer | Anders Bakken <anders.bakken@nokia.com> | 2009-07-13 19:51:18 (GMT) |
commit | 3f14a6f5bf06ffa2451226928a925f5d23e343c3 (patch) | |
tree | c26dfc0cbadd58ff6d2dc3d571594b707b4ce556 /src/plugins | |
parent | 74c95015686ad5576b53fef5f653442ea2c4053a (diff) | |
download | Qt-3f14a6f5bf06ffa2451226928a925f5d23e343c3.zip Qt-3f14a6f5bf06ffa2451226928a925f5d23e343c3.tar.gz Qt-3f14a6f5bf06ffa2451226928a925f5d23e343c3.tar.bz2 |
Remove unused variables in QDirectFBPaintEngine
fbWidth/fbHeight were never used for anything
Reviewed-by: Donald <qt-info@nokia.com>
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp b/src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp index eda83b2..4ede69a 100644 --- a/src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp +++ b/src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp @@ -270,8 +270,6 @@ private: int lastLockedHeight; IDirectFB *fb; - int fbWidth; - int fbHeight; quint8 opacity; @@ -318,7 +316,6 @@ bool QDirectFBPaintEngine::begin(QPaintDevice *device) device->devType()); } d->lockedMemory = 0; - d->surface->GetSize(d->surface, &d->fbWidth, &d->fbHeight); const bool status = QRasterPaintEngine::begin(device); // XXX: QRasterPaintEngine::begin() resets the capabilities @@ -838,7 +835,7 @@ void QDirectFBPaintEngine::initImageCache(int size) QDirectFBPaintEnginePrivate::QDirectFBPaintEnginePrivate(QDirectFBPaintEngine *p) : surface(0), antialiased(false), simplePen(false), transformationType(0), lastLockedHeight(-1), - fbWidth(-1), fbHeight(-1), opacity(255), dirtyClip(true), + opacity(255), dirtyClip(true), dfbHandledClip(false), dfbDevice(0), lockedMemory(0), unsupportedCompositionMode(false), q(p) { |