Skip to content

Commit

Permalink
fix: shortcuts related. 🚧
Browse files Browse the repository at this point in the history
  • Loading branch information
Joker2770 committed Apr 5, 2023
1 parent 4e1b63b commit 878e2f2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/PlayerSettingDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ PlayerSettingDialog::PlayerSettingDialog(QWidget *parent) :
this->p2_rb_1->setChecked(true);
this->btn_p1->setText("open");
this->btn_p2->setText("open");
this->btn_exchange->setText("exchange");
this->btn_exchange->setText("exchange(Ctrl+X)");
this->btn_exchange->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_X));
this->p1_hbl_1->addWidget(p1_rb_1);
this->p1_hbl_1->addWidget(p1_rb_2);
this->p1_hbl_2->addWidget(le_p1);
Expand Down
2 changes: 1 addition & 1 deletion src/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ MainWindow::MainWindow(QWidget *parent)
this->pActionEnd->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_E));
this->pActionClear->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_C));
this->pActionTakeBack->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_T));
this->pActionBoardSize->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_B));
this->pActionBoardSize->setShortcut(QKeySequence(Qt::Key_B));
this->pActionTimeoutMatch->setShortcut(QKeySequence(Qt::Key_M));
this->pActionTimeoutTurn->setShortcut(QKeySequence(Qt::Key_T));
this->pActionMaxMemory->setShortcut(QKeySequence(Qt::Key_O));
Expand Down

0 comments on commit 878e2f2

Please sign in to comment.