mirror of
https://github.com/lubosz/overte.git
synced 2025-04-08 07:22:43 +02:00
CR comments.
This commit is contained in:
parent
de1c40e994
commit
d230fc86db
1 changed files with 4 additions and 6 deletions
|
@ -117,12 +117,10 @@ void TestRunnerMobile::connectDevice() {
|
|||
_modelName = "UNKNOWN";
|
||||
for (int i = 0; i < tokens.size(); ++i) {
|
||||
if (tokens[i].contains(MODEL)) {
|
||||
if (i < tokens.size()) {
|
||||
QString modelID = tokens[i].split(':')[1];
|
||||
QString modelID = tokens[i].split(':')[1];
|
||||
|
||||
if (modelNames.count(modelID) == 1) {
|
||||
_modelName = modelNames[modelID];
|
||||
}
|
||||
if (modelNames.count(modelID) == 1) {
|
||||
_modelName = modelNames[modelID];
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
@ -223,7 +221,7 @@ void TestRunnerMobile::runInterface() {
|
|||
startCommand = "io.highfidelity.hifiinterface/.PermissionChecker";
|
||||
}
|
||||
|
||||
QString serverIP { getServerIP() };
|
||||
QString serverIP { getServerIP() };
|
||||
if (serverIP == NETWORK_NOT_FOUND) {
|
||||
_runInterfacePushbutton->setEnabled(false);
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue