equal
deleted
inserted
replaced
166 } |
166 } |
167 |
167 |
168 #ifdef QT_SOFTKEYS_ENABLED |
168 #ifdef QT_SOFTKEYS_ENABLED |
169 selectAction = QSoftKeyManager::createKeyedAction(QSoftKeyManager::SelectSoftKey, Qt::Key_Select, q); |
169 selectAction = QSoftKeyManager::createKeyedAction(QSoftKeyManager::SelectSoftKey, Qt::Key_Select, q); |
170 cancelAction = QSoftKeyManager::createKeyedAction(QSoftKeyManager::CancelSoftKey, Qt::Key_Back, q); |
170 cancelAction = QSoftKeyManager::createKeyedAction(QSoftKeyManager::CancelSoftKey, Qt::Key_Back, q); |
171 selectAction->setVisible(false); // Don't show these in the menu |
171 selectAction->setPriority(QAction::HighPriority); |
172 cancelAction->setVisible(false); |
172 cancelAction->setPriority(QAction::HighPriority); |
173 q->addAction(selectAction); |
173 q->addAction(selectAction); |
174 q->addAction(cancelAction); |
174 q->addAction(cancelAction); |
175 #endif |
175 #endif |
176 } |
176 } |
177 |
177 |