* @brief Shows or hides the notification log tool window (Pro-only widget). */
| 1203 | * @brief Shows or hides the notification log tool window (Pro-only widget). |
| 1204 | */ |
| 1205 | void UI::Dashboard::setNotificationLogEnabled(const bool enabled) |
| 1206 | { |
| 1207 | if (m_notificationLogEnabled == enabled) |
| 1208 | return; |
| 1209 | |
| 1210 | m_notificationLogEnabled = enabled; |
| 1211 | if (m_persistSettings) |
| 1212 | m_settings.setValue("Dashboard/NotificationLogEnabled", m_notificationLogEnabled); |
| 1213 | |
| 1214 | Q_EMIT notificationLogEnabledChanged(); |
| 1215 | } |
| 1216 | |
| 1217 | /** |
| 1218 | * @brief Shows or hides the clock tool window. |
no outgoing calls
no test coverage detected