mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-09-14 20:33:05 +02:00
Fix typo
This commit is contained in:
parent
395d968ab5
commit
6fd342e265
@ -153,23 +153,23 @@ void MachineInfo::send_info_to_debug()
|
|||||||
|
|
||||||
foreach (const QStorageInfo &storage, QStorageInfo::mountedVolumes()) {
|
foreach (const QStorageInfo &storage, QStorageInfo::mountedVolumes()) {
|
||||||
if (storage.isReadOnly())
|
if (storage.isReadOnly())
|
||||||
qInfo() << "isReadOnly:" << storage.isReadOnly();
|
qDebug() << "isReadOnly:" << storage.isReadOnly();
|
||||||
|
|
||||||
qInfo() << "DISK :" << storage.rootPath().toLocal8Bit().constData() << " ";
|
qInfo() << "DISK :" << storage.rootPath().toLocal8Bit().constData() << " ";
|
||||||
qInfo() << "FileSystemType:" << storage.fileSystemType();
|
qInfo() << "FileSystemType:" << storage.fileSystemType();
|
||||||
qInfo() << "SizeTotal:" << storage.bytesFree() /1024/1024/1024 << "GB";
|
qInfo() << "SizeTotal:" << storage.bytesTotal()/1000000000 << "GB";
|
||||||
qInfo() << "AvailableSize:" << storage.bytesAvailable()/1024/1024/1024 << "GB";
|
qInfo() << "AvailableSize:" << storage.bytesAvailable()/1000000000 << "GB";
|
||||||
}
|
}
|
||||||
|
|
||||||
QStorageInfo storage(qApp->applicationDirPath());
|
QStorageInfo storage(qApp->applicationDirPath());
|
||||||
|
|
||||||
if (storage.isReadOnly())
|
if (storage.isReadOnly())
|
||||||
qInfo() << "isReadOnly:" << storage.isReadOnly();
|
qDebug() << "isReadOnly:" << storage.isReadOnly();
|
||||||
|
|
||||||
qInfo() << "DISK USED:" << storage.rootPath().toLocal8Bit().constData() << " ";
|
qInfo() << "DISK USED:" << storage.rootPath().toLocal8Bit().constData() << " ";
|
||||||
qInfo() << "FileSystemType:" << storage.fileSystemType();
|
qInfo() << "FileSystemType:" << storage.fileSystemType();
|
||||||
qInfo() << "SizeTotal:" << storage.bytesFree()/1024/1024/1024 << "GB";
|
qInfo() << "SizeTotal:" << storage.bytesTotal()/1000000000 << "GB";
|
||||||
qInfo() << "AvailableSize:" << storage.bytesAvailable()/1024/1024/1024 << "GB";
|
qInfo() << "AvailableSize:" << storage.bytesAvailable()/1000000000 << "GB";
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user