summaryrefslogtreecommitdiffstats
path: root/src/platformsupport/fbconvenience/qfbscreen.cpp
diff options
context:
space:
mode:
authorGirish Ramakrishnan <girish.1.ramakrishnan@nokia.com>2012-07-06 04:14:37 +0530
committerQt by Nokia <qt-info@nokia.com>2012-07-11 12:43:51 +0200
commit0be40737081110238f326e3644287b3dca18a824 (patch)
treeee4126debb15bac92eced020690fdb6317ce489c /src/platformsupport/fbconvenience/qfbscreen.cpp
parent4f5a9c8791588abdd6c7c0f94cbaeea1c65d8130 (diff)
linuxfb: remove mScreens from QFbWindow
A QWindow can only be in one QScreen, so it makes no sense to track a list of screens. Change-Id: I341a67afa90c7fbbbd95786b43d0a322fc1ddba2 Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com> Reviewed-by: Thomas Senyk <thomas.senyk@nokia.com> Reviewed-by: Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com>
Diffstat (limited to 'src/platformsupport/fbconvenience/qfbscreen.cpp')
-rw-r--r--src/platformsupport/fbconvenience/qfbscreen.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/platformsupport/fbconvenience/qfbscreen.cpp b/src/platformsupport/fbconvenience/qfbscreen.cpp
index 6656903d71..cd45e5ce08 100644
--- a/src/platformsupport/fbconvenience/qfbscreen.cpp
+++ b/src/platformsupport/fbconvenience/qfbscreen.cpp
@@ -252,7 +252,6 @@ QRegion QFbScreen::doRedraw()
void QFbScreen::addWindow(QFbWindow *surface)
{
windowStack.prepend(surface);
- surface->mScreens.append(this);
invalidateRectCache();
setDirty(surface->geometry());
}
@@ -260,7 +259,6 @@ void QFbScreen::addWindow(QFbWindow *surface)
void QFbScreen::removeWindow(QFbWindow * surface)
{
windowStack.removeOne(surface);
- surface->mScreens.removeOne(this);
invalidateRectCache();
setDirty(surface->geometry());
}