Fix spurious "Failed to connect to PC" dialogs for mDNS-discovered hosts

This commit is contained in:
Cameron Gutman 2018-07-13 22:38:58 -07:00
commit af503a9147

View file

@ -366,7 +366,9 @@ private:
try { try {
serverInfo = http.getServerInfo(); serverInfo = http.getServerInfo();
} catch (...) { } catch (...) {
emit computerAddCompleted(false); if (!m_Mdns) {
emit computerAddCompleted(false);
}
return; return;
} }