mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-14 09:33:56 -06:00
#4397 ssihub : Avoid caching of data
This commit is contained in:
parent
6fbb45be88
commit
a113ca5ff5
@ -89,7 +89,7 @@ void RicWellPathsImportSsihubFeature::onActionTriggered(bool isChecked)
|
|||||||
QString ssihubPassword = "resinsight";
|
QString ssihubPassword = "resinsight";
|
||||||
#else
|
#else
|
||||||
QString ssihubUsername = app->cacheDataObject("ssihub_username").toString();
|
QString ssihubUsername = app->cacheDataObject("ssihub_username").toString();
|
||||||
QString ssihubPassword = app->cacheDataObject("ssihub_password").toString();
|
QString ssihubPassword;
|
||||||
#endif
|
#endif
|
||||||
wellImportwizard.setCredentials(ssihubUsername, ssihubPassword);
|
wellImportwizard.setCredentials(ssihubUsername, ssihubPassword);
|
||||||
}
|
}
|
||||||
@ -104,7 +104,6 @@ void RicWellPathsImportSsihubFeature::onActionTriggered(bool isChecked)
|
|||||||
}
|
}
|
||||||
|
|
||||||
app->setCacheDataObject("ssihub_username", wellImportwizard.field("username"));
|
app->setCacheDataObject("ssihub_username", wellImportwizard.field("username"));
|
||||||
app->setCacheDataObject("ssihub_password", wellImportwizard.field("password"));
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user