mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 10:00:40 +00:00
Show the version running when connecting to incompatible remote server
This commit is contained in:
@@ -149,11 +149,18 @@ void RemoteManager::setRemoteServerLive(RDTreeWidgetItem *node, bool live, bool
|
||||
QString text = live ? tr("Remote server running") : tr("No remote server");
|
||||
|
||||
if(host.IsConnected())
|
||||
{
|
||||
text += tr(" (Active Context)");
|
||||
}
|
||||
else if(host.IsVersionMismatch())
|
||||
text += tr(" (Version Mismatch)");
|
||||
{
|
||||
QString message = host.VersionMismatchError();
|
||||
text += QFormatStr(" (%1)").arg(message);
|
||||
}
|
||||
else if(host.IsBusy())
|
||||
{
|
||||
text += tr(" (Busy)");
|
||||
}
|
||||
|
||||
node->setText(1, text);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user