Utils: Store Device::osType in settings

Change-Id: I41348be752598b7a8d1f1979764e7111cccc95a9
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Marcus Tillmanns
2023-03-15 09:30:14 +01:00
parent af809b3a52
commit 29873068eb
13 changed files with 95 additions and 62 deletions

View File

@@ -59,12 +59,6 @@ private slots:
m_fileSizeTestFile.writeFileContents(QByteArray(1024, 'a'));
}
void osType()
{
const auto osType = m_dfaPtr->osType({});
QCOMPARE(osType, HostOsInfo::hostOs());
}
void fileSize()
{
const auto size = m_dfaPtr->fileSize(m_fileSizeTestFile);