mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 23:45:35 +08:00
Improved handling for "unexpected shutdown"
(such as DBus down/unavailable)
This commit is contained in:
committed by
Mathew Sutcliffe
parent
6640c84e63
commit
5323491eb9
@@ -205,6 +205,7 @@ namespace BlackGui
|
||||
{
|
||||
canConnect = CNetworkUtils::canConnect(sharedUrl);
|
||||
allRowsHtml += rowHtml.arg(canConnect ? imgOk : imgFailed, urlLinkHtml.arg(sharedUrl.getFullUrl(), sharedUrl.getHost()));
|
||||
if (!sGui || sGui->isShuttingDown()) { return; } // shutdown during connect test
|
||||
}
|
||||
ui->lbl_SharedUrls->setText(tableHtml.arg(allRowsHtml.trimmed()));
|
||||
ui->lbl_SharedUrls->setToolTip(sGui->getWebDataServices()->getDbReaderCurrentSharedDbDataUrl().toQString());
|
||||
|
||||
Reference in New Issue
Block a user