Ignore:
Timestamp:
May 5, 2011, 5:36:53 AM (14 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.7.2 sources from branches/vendor/nokia/qt.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/gui/kernel/qsoftkeymanager_s60.cpp

    r769 r846  
    11/****************************************************************************
    22**
    3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     3** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies).
    44** All rights reserved.
    55** Contact: Nokia Corporation ([email protected])
     
    4747#include "private/qt_s60_p.h"
    4848#include "private/qmenu_p.h"
     49
    4950#include "private/qsoftkeymanager_p.h"
    5051#include "private/qsoftkeymanager_s60_p.h"
     
    265266
    266267            CEikImage* myimage = new (ELeave) CEikImage;
    267             myimage->SetPicture( nBitmap, nMask ); // nBitmap and nMask ownership transfered
     268            myimage->SetPicture( nBitmap, nMask ); // nBitmap and nMask ownership transfered
    268269
    269270            EikSoftkeyImage::SetImage(cba, *myimage, left); // Takes myimage ownership
     
    385386    QAction *action = realSoftKeyActions.value(command);
    386387    if (action) {
    387         QVariant property = action->property(MENU_ACTION_PROPERTY);
    388         if (property.isValid() && property.toBool()) {
     388        ;
     389        if (property) {
    389390            QT_TRAP_THROWING(tryDisplayMenuBarL());
    390391        } else if (action->menu()) {
     
    401402                    QMenu *menu = menuAction->menu();
    402403                    if(menu)
    403                         menuBar->addMenu(action->menu());
     404                        menuBar->addMenu();
    404405                    else
    405406                        menuBar->addAction(menuAction);
Note: See TracChangeset for help on using the changeset viewer.