summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorJason Barron <jbarron@trolltech.com>2009-07-07 09:28:59 (GMT)
committerJason Barron <jbarron@trolltech.com>2009-07-07 09:28:59 (GMT)
commit6aa3624edecb4ab0ad2e3d0e189254a5b561672d (patch)
tree1dbef21f4f0ad465c09596b2a764de81f7925e88 /src/gui
parent197df24edfe095a10e2bf65116796e027fea44e2 (diff)
downloadQt-6aa3624edecb4ab0ad2e3d0e189254a5b561672d.zip
Qt-6aa3624edecb4ab0ad2e3d0e189254a5b561672d.tar.gz
Qt-6aa3624edecb4ab0ad2e3d0e189254a5b561672d.tar.bz2
Compile fixes for S60 + 4.6.
Update some things after pulling in master-stable to get things compiling again.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/graphicsview/qgraphicsscene.cpp6
-rw-r--r--src/gui/widgets/qmenu.cpp2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/graphicsview/qgraphicsscene.cpp b/src/gui/graphicsview/qgraphicsscene.cpp
index eb9af3f..13d3bd6 100644
--- a/src/gui/graphicsview/qgraphicsscene.cpp
+++ b/src/gui/graphicsview/qgraphicsscene.cpp
@@ -5543,14 +5543,14 @@ void QGraphicsScenePrivate::processDirtyItemsRecursive(QGraphicsItem *item, bool
bool valid = false;
if (untransformableItem) {
- valid = updateHelper(viewPrivate, item->d_ptr, dirtyRect,
+ valid = updateHelper(viewPrivate, item->d_ptr.data(), dirtyRect,
item->deviceTransform(view->viewportTransform()));
} else if (!view->isTransformed()) {
- valid = updateHelper(viewPrivate, item->d_ptr, dirtyRect, item->d_ptr->sceneTransform);
+ valid = updateHelper(viewPrivate, item->d_ptr.data(), dirtyRect, item->d_ptr->sceneTransform);
} else {
QTransform deviceTransform = item->d_ptr->sceneTransform;
deviceTransform *= view->viewportTransform();
- valid = updateHelper(viewPrivate, item->d_ptr, dirtyRect, deviceTransform);
+ valid = updateHelper(viewPrivate, item->d_ptr.data(), dirtyRect, deviceTransform);
}
if (!valid)
paintedViewBoundingRect = QRect();
diff --git a/src/gui/widgets/qmenu.cpp b/src/gui/widgets/qmenu.cpp
index fd69a52..079a3b5 100644
--- a/src/gui/widgets/qmenu.cpp
+++ b/src/gui/widgets/qmenu.cpp
@@ -1783,7 +1783,7 @@ void QMenu::popup(const QPoint &p, QAction *atAction)
atAction = d->defaultAction;
// TODO: This works for first level menus, not yet sub menus
} else {
- foreach (QAction *action, d->actionList)
+ foreach (QAction *action, d->actions)
if (action->isEnabled()) {
atAction = action;
break;