feat: Add start scan process without recon connect while configured.

This commit is contained in:
sunwen
2024-07-05 11:09:16 +08:00
parent 4ae2193ef7
commit 679cc2ec18
7 changed files with 44 additions and 26 deletions

View File

@@ -100,6 +100,7 @@ void JsonObject::init()
{
mReconTransferPath.chop(1);
}
mScanCanWithoutRecon = getBool("recon", "scancanwithoutrecon");
mMppsHost.ae = QString(getJsonString("mpps", "ae"));
mMppsHost.ip = QString(getJsonString("mpps", "ip"));
@@ -659,3 +660,8 @@ QString JsonObject::getReconTransferPath()
{
return mReconTransferPath;
}
bool JsonObject::getScanCanWithoutRecon()
{
return mScanCanWithoutRecon;
}

View File

@@ -126,6 +126,8 @@ public:
QString getReconTransferPath();
bool getScanCanWithoutRecon();
private:
void setJsonString(const char* catergory, const char* stringName, const char* stringValue, bool save = true);
@@ -184,6 +186,7 @@ private:
bool mAnonymousMode;
bool mScreenSaverMode;
bool mMppsOpen;
bool mScanCanWithoutRecon;