mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-12 00:59:41 +01:00
Merge pull request #12826 from TotalCaesar659/menu-enable-chat
Add "Enable chat" menu point to Linux version
This commit is contained in:
2 files changed
+5
No files matched your search
@@ -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() {
|
||||
|
||||
Reference in new issue
Block a user