forked from qt-creator/qt-creator
Axivion: Remove duplicate code
Amends 41d276eb6f
.
Change-Id: I3eb5c142272ee7af741ae3293e10c3d4a570ed35
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user