mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Add "Enable chat" menu point to Linux version
This commit is contained in:
parent
b892e5e91e
commit
13f5d3f73f
2 changed files with 5 additions and 0 deletions
|
@ -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"));
|
||||
|
|
|
@ -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() {
|
||||
|
|
Loading…
Add table
Reference in a new issue