diff --git a/src/fs/fat12.h b/src/fs/fat12.h index ef8818f..5a02895 100644 --- a/src/fs/fat12.h +++ b/src/fs/fat12.h @@ -16,8 +16,7 @@ * along with this program. If not, see .* *************************************************************************/ -#if !defined(KPMCORE_FAT12_H) - +#ifndef KPMCORE_FAT12_H #define KPMCORE_FAT12_H #include "util/libpartitionmanagerexport.h" @@ -62,10 +61,10 @@ public: return m_Create; } CommandSupportType supportGrow() const override { - return m_Grow; + return cmdSupportNone; } CommandSupportType supportShrink() const override { - return m_Shrink; + return cmdSupportNone; } CommandSupportType supportMove() const override { return m_Move; diff --git a/src/fs/fat16.h b/src/fs/fat16.h index a654431..ea988a5 100644 --- a/src/fs/fat16.h +++ b/src/fs/fat16.h @@ -16,8 +16,7 @@ * along with this program. If not, see .* *************************************************************************/ -#if !defined(KPMCORE_FAT16_H) - +#ifndef KPMCORE_FAT16_H #define KPMCORE_FAT16_H #include "fs/fat12.h" @@ -43,6 +42,13 @@ public: bool create(Report& report, const QString& deviceNode) override; bool resize(Report& report, const QString& deviceNode, qint64 length) const override; + CommandSupportType supportGrow() const override { + return m_Grow; + } + CommandSupportType supportShrink() const override { + return m_Shrink; + } + qint64 minCapacity() const override; qint64 maxCapacity() const override; bool supportToolFound() const override;