diff --git a/src/PlayerSettingDialog.cpp b/src/PlayerSettingDialog.cpp index a823e85..a82efa7 100644 --- a/src/PlayerSettingDialog.cpp +++ b/src/PlayerSettingDialog.cpp @@ -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); diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 6bec099..cdfe531 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -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));