A small patch

Support specifying client working directory
Clean all compile warnings
This commit is contained in:
wh201906
2021-02-17 01:26:14 +08:00
parent 7f96c061dc
commit aa6b93984c
13 changed files with 312 additions and 197 deletions
+2 -3
View File
@@ -102,16 +102,14 @@ QString Mifare::info(bool isRequiringOutput)
end = result.indexOf("\n", end);
return result.mid(begin, end - begin + 1);
}
else
return "";
}
else
{
util->execCMD("hf 14a info");
ui->funcTab->setCurrentIndex(Util::rawTabIndex);
return "";
}
}
return "";
}
void Mifare::chk()
@@ -629,6 +627,7 @@ bool Mifare::_writeblk(int blockId, KeyType keyType, const QString& key, const Q
return true;
}
}
return false;
}
void Mifare::writeOne(TargetType targetType)