Axivion: Remove duplicate code

Amends 41d276eb6f.

Change-Id: I3eb5c142272ee7af741ae3293e10c3d4a570ed35
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
This commit is contained in:
Christian Stenger
2024-10-11 09:48:13 +02:00
parent da073e938d
commit bb92929b10

View File

@@ -422,11 +422,6 @@ void IssuesWidget::initDashboardList(const QString &preferredProject)
const QList<AxivionServer> servers = settings().allAvailableServers(); const QList<AxivionServer> servers = settings().allAvailableServers();
if (servers.isEmpty()) { if (servers.isEmpty()) {
switchActiveDashboardId({}); switchActiveDashboardId({});
{
GuardLocker lock(m_signalBlocker);
m_dashboardProjects->clear();
}
updateBasicProjectInfo(std::nullopt);
showOverlay(Tr::tr("Configure dashboards in Preferences > Axivion > General."), SettingsIcon); showOverlay(Tr::tr("Configure dashboards in Preferences > Axivion > General."), SettingsIcon);
return; return;
} }