Changeset 769 for trunk/src/gui/widgets/qmainwindow.cpp
- Timestamp:
- Aug 2, 2010, 9:27:30 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/vendor/nokia/qt/4.6.3 (added) merged: 768 /branches/vendor/nokia/qt/current merged: 767 /branches/vendor/nokia/qt/4.6.2 removed
- Property svn:mergeinfo changed
-
trunk/src/gui/widgets/qmainwindow.cpp
r651 r769 66 66 QT_END_NAMESPACE 67 67 #endif 68 #ifdef QT_SOFTKEYS_ENABLED69 #include <private/qsoftkeymanager_p.h>70 #endif71 68 72 69 QT_BEGIN_NAMESPACE … … 80 77 #ifdef Q_WS_MAC 81 78 , useHIToolBar(false) 82 #endif83 #ifdef QT_SOFTKEYS_ENABLED84 , menuBarAction(0)85 79 #endif 86 80 #if !defined(QT_NO_DOCKWIDGET) && !defined(QT_NO_CURSOR) … … 95 89 bool useHIToolBar; 96 90 #endif 97 #ifdef QT_SOFTKEYS_ENABLED98 QAction *menuBarAction;99 #endif100 91 void init(); 101 92 QList<int> hoverSeparator; … … 118 109 iconSize = QSize(metric, metric); 119 110 q->setAttribute(Qt::WA_Hover); 120 #ifdef QT_SOFTKEYS_ENABLED121 menuBarAction = QSoftKeyManager::createAction(QSoftKeyManager::MenuSoftKey, q);122 #endif123 111 } 124 112 … … 492 480 } 493 481 d->layout->setMenuBar(menuBar); 494 495 #ifdef QT_SOFTKEYS_ENABLED496 if (menuBar)497 addAction(d->menuBarAction);498 else499 removeAction(d->menuBarAction);500 #endif501 482 } 502 483
Note:
See TracChangeset
for help on using the changeset viewer.