Changeset 846 for trunk/src/gui/kernel/qsoftkeymanager_s60.cpp
- Timestamp:
- May 5, 2011, 5:36:53 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/vendor/nokia/qt/4.7.2 (added) merged: 845 /branches/vendor/nokia/qt/current merged: 844 /branches/vendor/nokia/qt/4.6.3 removed
- Property svn:mergeinfo changed
-
trunk/src/gui/kernel/qsoftkeymanager_s60.cpp
r769 r846 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation ([email protected]) … … 47 47 #include "private/qt_s60_p.h" 48 48 #include "private/qmenu_p.h" 49 49 50 #include "private/qsoftkeymanager_p.h" 50 51 #include "private/qsoftkeymanager_s60_p.h" … … 265 266 266 267 CEikImage* myimage = new (ELeave) CEikImage; 267 myimage->SetPicture( nBitmap, nMask ); // nBitmap and nMask ownership transfer ed268 myimage->SetPicture( nBitmap, nMask ); // nBitmap and nMask ownership transfered 268 269 269 270 EikSoftkeyImage::SetImage(cba, *myimage, left); // Takes myimage ownership … … 385 386 QAction *action = realSoftKeyActions.value(command); 386 387 if (action) { 387 QVariant property = action->property(MENU_ACTION_PROPERTY);388 if (property .isValid() && property.toBool()) {388 ; 389 if (property) { 389 390 QT_TRAP_THROWING(tryDisplayMenuBarL()); 390 391 } else if (action->menu()) { … … 401 402 QMenu *menu = menuAction->menu(); 402 403 if(menu) 403 menuBar->addMenu( action->menu());404 menuBar->addMenu(); 404 405 else 405 406 menuBar->addAction(menuAction);
Note:
See TracChangeset
for help on using the changeset viewer.