| 1233 | } |
| 1234 | |
| 1235 | void MainWindow::resetGui() { |
| 1236 | ipcCloseConnected(); |
| 1237 | m_config->remove(SETTING_SCREEN_SKIN); |
| 1238 | m_config->remove(SETTING_SCREEN_SCALE); |
| 1239 | m_config->remove(SETTING_SCREEN_UPSCALE); |
| 1240 | m_config->remove(SETTING_SCREEN_FULLSCREEN); |
| 1241 | m_config->remove(SETTING_WINDOW_FULLSCREEN); |
| 1242 | m_config->remove(SETTING_WINDOW_GEOMETRY); |
| 1243 | m_config->remove(SETTING_WINDOW_POSITION); |
| 1244 | m_config->remove(SETTING_WINDOW_MEMORY_DOCKS); |
| 1245 | m_config->remove(SETTING_WINDOW_MEMORY_DOCK_ASCII); |
| 1246 | m_config->remove(SETTING_WINDOW_MEMORY_DOCK_BYTES); |
| 1247 | m_config->remove(SETTING_WINDOW_VISUALIZER_DOCKS); |
| 1248 | m_config->remove(SETTING_WINDOW_VISUALIZER_CONFIG); |
| 1249 | m_config->remove(SETTING_WINDOW_STATE); |
| 1250 | m_config->remove(SETTING_WINDOW_MENUBAR); |
| 1251 | m_config->remove(SETTING_WINDOW_STATUSBAR); |
| 1252 | m_config->remove(SETTING_WINDOW_SEPARATOR); |
| 1253 | m_config->remove(SETTING_UI_EDIT_MODE); |
| 1254 | m_needReload = true; |
| 1255 | close(); |
| 1256 | } |
| 1257 | |
| 1258 | bool MainWindow::isReload() { |
| 1259 | return m_needReload; |
nothing calls this directly
no outgoing calls
no test coverage detected