* @brief Shows or hides the terminal tool window. The widget itself is always registered; * the flag only drives external-window visibility, so no rebuild occurs. */
| 1188 | * the flag only drives external-window visibility, so no rebuild occurs. |
| 1189 | */ |
| 1190 | void UI::Dashboard::setTerminalEnabled(const bool enabled) |
| 1191 | { |
| 1192 | if (m_terminalEnabled == enabled) |
| 1193 | return; |
| 1194 | |
| 1195 | m_terminalEnabled = enabled; |
| 1196 | if (m_persistSettings) |
| 1197 | m_settings.setValue("Dashboard/TerminalEnabled", m_terminalEnabled); |
| 1198 | |
| 1199 | Q_EMIT terminalEnabledChanged(); |
| 1200 | } |
| 1201 | |
| 1202 | /** |
| 1203 | * @brief Shows or hides the notification log tool window (Pro-only widget). |
no outgoing calls
no test coverage detected