* @brief Enables/disables the action panel. */
| 1086 | * @brief Enables/disables the action panel. |
| 1087 | */ |
| 1088 | void UI::Dashboard::setShowActionPanel(const bool enabled) |
| 1089 | { |
| 1090 | if (m_showActionPanel != enabled) { |
| 1091 | m_showActionPanel = enabled; |
| 1092 | if (m_persistSettings) |
| 1093 | m_settings.setValue("Dashboard/ShowActionPanel", m_showActionPanel); |
| 1094 | |
| 1095 | Q_EMIT showActionPanelChanged(); |
| 1096 | } |
| 1097 | } |
| 1098 | |
| 1099 | /** |
| 1100 | * @brief Enables or disables auto-hiding the toolbar when the dashboard is shown. |
no outgoing calls
no test coverage detected