diff options
Diffstat (limited to 'src/gui/widgets/qdialogbuttonbox.cpp')
-rw-r--r-- | src/gui/widgets/qdialogbuttonbox.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/qdialogbuttonbox.cpp b/src/gui/widgets/qdialogbuttonbox.cpp index 2ceeca7..39566ef 100644 --- a/src/gui/widgets/qdialogbuttonbox.cpp +++ b/src/gui/widgets/qdialogbuttonbox.cpp @@ -580,13 +580,13 @@ QAction* QDialogButtonBoxPrivate::createSoftKey(QAbstractButton *button, QDialog case YesRole: case ActionRole: case HelpRole: - softkeyRole = QAction::OkSoftKey; + softkeyRole = QAction::PositiveSoftKey; break; case RejectRole: case DestructiveRole: case NoRole: case ResetRole: - softkeyRole = QAction::CancelSoftKey; + softkeyRole = QAction::NegativeSoftKey; break; default: break; |