diff --git a/Qt/mainwindow.cpp b/Qt/mainwindow.cpp index 33c814a89b..31f72c2a63 100644 --- a/Qt/mainwindow.cpp +++ b/Qt/mainwindow.cpp @@ -657,6 +657,8 @@ void MainWindow::createMenus() gameSettingsMenu->addSeparator(); gameSettingsMenu->add(new MenuAction(this, SLOT(cheatsAct()), QT_TR_NOOP("Enable &cheats"), Qt::CTRL + Qt::Key_T)) ->addEventChecked(&g_Config.bEnableCheats); + gameSettingsMenu->addSeparator(); + gameSettingsMenu->add(new MenuAction(this, SLOT(chatAct()), QT_TR_NOOP("Enable chat"), Qt::CTRL + Qt::Key_C)); // Help MenuTree* helpMenu = new MenuTree(this, menuBar(), QT_TR_NOOP("&Help")); diff --git a/Qt/mainwindow.h b/Qt/mainwindow.h index 60f6ea57e7..2da0f8e37a 100644 --- a/Qt/mainwindow.h +++ b/Qt/mainwindow.h @@ -173,6 +173,9 @@ private slots: // Cheats void cheatsAct() { g_Config.bEnableCheats = !g_Config.bEnableCheats; } + // Chat + void chatAct() { NativeMessageReceived("chat screen", ""); } + void fullscrAct(); void raiseTopMost(); void statsAct() {