equal
deleted
inserted
replaced
117 const int metric = q->style()->pixelMetric(QStyle::PM_ToolBarIconSize, 0, q); |
117 const int metric = q->style()->pixelMetric(QStyle::PM_ToolBarIconSize, 0, q); |
118 iconSize = QSize(metric, metric); |
118 iconSize = QSize(metric, metric); |
119 q->setAttribute(Qt::WA_Hover); |
119 q->setAttribute(Qt::WA_Hover); |
120 #ifdef QT_SOFTKEYS_ENABLED |
120 #ifdef QT_SOFTKEYS_ENABLED |
121 menuBarAction = QSoftKeyManager::createAction(QSoftKeyManager::MenuSoftKey, q); |
121 menuBarAction = QSoftKeyManager::createAction(QSoftKeyManager::MenuSoftKey, q); |
122 menuBarAction->setObjectName(QLatin1String("_q_menuSoftKeyAction")); |
|
123 menuBarAction->setVisible(false); |
|
124 #endif |
122 #endif |
125 } |
123 } |
126 |
124 |
127 /* |
125 /* |
128 The Main Window: |
126 The Main Window: |