MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / setNotificationLogEnabled

Method setNotificationLogEnabled

app/src/UI/Dashboard.cpp:1205–1215  ·  view source on GitHub ↗

* @brief Shows or hides the notification log tool window (Pro-only widget). */

Source from the content-addressed store, hash-verified

1203 * @brief Shows or hides the notification log tool window (Pro-only widget).
1204 */
1205void 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.

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected