set FS support for parted backend only if the file system code itself hasn't
set support svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1274431
This commit is contained in:
parent
835d7c0844
commit
a77c0fe4a7
|
@ -290,11 +290,22 @@ LibPartedBackend::LibPartedBackend(QObject*, const QList<QVariant>&) :
|
||||||
void LibPartedBackend::initFSSupport()
|
void LibPartedBackend::initFSSupport()
|
||||||
{
|
{
|
||||||
#if defined LIBPARTED_FILESYSTEM_SUPPORT
|
#if defined LIBPARTED_FILESYSTEM_SUPPORT
|
||||||
|
if (FS::fat16::m_Shrink == FileSystem::cmdSupportNone)
|
||||||
FS::fat16::m_Shrink = FileSystem::cmdSupportBackend;
|
FS::fat16::m_Shrink = FileSystem::cmdSupportBackend;
|
||||||
|
|
||||||
|
if (FS::fat16::m_Grow == FileSystem::cmdSupportNone)
|
||||||
FS::fat16::m_Grow = FileSystem::cmdSupportBackend;
|
FS::fat16::m_Grow = FileSystem::cmdSupportBackend;
|
||||||
|
|
||||||
|
if (FS::hfs::m_Shrink == FileSystem::cmdSupportNone)
|
||||||
FS::hfs::m_Shrink = FileSystem::cmdSupportBackend;
|
FS::hfs::m_Shrink = FileSystem::cmdSupportBackend;
|
||||||
|
|
||||||
|
if (FS::hfsplus::m_Shrink == FileSystem::cmdSupportNone)
|
||||||
FS::hfsplus::m_Shrink = FileSystem::cmdSupportBackend;
|
FS::hfsplus::m_Shrink = FileSystem::cmdSupportBackend;
|
||||||
|
|
||||||
|
if (FS::hfs::m_GetUsed == FileSystem::cmdSupportNone)
|
||||||
FS::hfs::m_GetUsed = FileSystem::cmdSupportBackend;
|
FS::hfs::m_GetUsed = FileSystem::cmdSupportBackend;
|
||||||
|
|
||||||
|
if (FS::hfsplus::m_GetUsed == FileSystem::cmdSupportNone)
|
||||||
FS::hfsplus::m_GetUsed = FileSystem::cmdSupportBackend;
|
FS::hfsplus::m_GetUsed = FileSystem::cmdSupportBackend;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue