加个日志打印,调试问题
This commit is contained in:
parent
eca006efdb
commit
c506d62d13
|
@ -50,6 +50,7 @@ bool UDiskDataBackupProxy::checkEnvEx()
|
|||
backupPath.replace("//", "/");
|
||||
QStorageInfo udisk(backupPath);
|
||||
QString udisk_type = udisk.fileSystemType();
|
||||
qDebug() << "udisk's filesystemtype is " << udisk_type;
|
||||
if (udisk_type == "vfat") {
|
||||
qCritical() << m_backupWrapper.m_prefixDestPath + " udisk's filesystemtype is vfat";
|
||||
emit checkResult(int(BackupResult::UDISK_FILESYSTEM_TYPE_IS_VFAT));
|
||||
|
|
|
@ -80,6 +80,7 @@ bool UDiskGhostImageProxy::checkEnvEx()
|
|||
backupPath.replace("//", "/");
|
||||
QStorageInfo udisk(backupPath);
|
||||
QString udisk_type = udisk.fileSystemType();
|
||||
qDebug() << "udisk's filesystemtype is " << udisk_type;
|
||||
if (udisk_type == "vfat") {
|
||||
qCritical() << m_backupWrapper.m_prefixDestPath + " udisk's filesystemtype is vfat";
|
||||
emit checkResult(int(BackupResult::UDISK_FILESYSTEM_TYPE_IS_VFAT));
|
||||
|
|
|
@ -70,6 +70,7 @@ bool UDiskSystemBackupProxy::checkEnvEx()
|
|||
backupPath.replace("//", "/");
|
||||
QStorageInfo udisk(backupPath);
|
||||
QString udisk_type = udisk.fileSystemType();
|
||||
qDebug() << "udisk's filesystemtype is " << udisk_type;
|
||||
if (udisk_type == "vfat") {
|
||||
qCritical() << m_backupWrapper.m_prefixDestPath + " udisk's filesystemtype is vfat";
|
||||
emit checkResult(int(BackupResult::UDISK_FILESYSTEM_TYPE_IS_VFAT));
|
||||
|
|
Loading…
Reference in New Issue