| 1862 | } |
| 1863 | |
| 1864 | void MainWindow::consoleModified() { |
| 1865 | ui->console->clear(); |
| 1866 | if (ui->radioConsole->isChecked()) { |
| 1867 | ui->console->setEnabled(false); |
| 1868 | console(tr("[CEmu] Dock output redirected to stdout. Use the radio button to enable dock.")); |
| 1869 | } else { |
| 1870 | ui->console->setEnabled(true); |
| 1871 | } |
| 1872 | m_nativeConsole = ui->radioConsole->isChecked(); |
| 1873 | m_config->setValue(SETTING_NATIVE_CONSOLE, m_nativeConsole); |
| 1874 | } |
| 1875 | |
| 1876 | void MainWindow::pauseEmu(Qt::ApplicationState state) { |
| 1877 | if (m_pauseOnFocus) { |