diff --git a/src/modules/partition/jobs/ResizePartitionJob.cpp b/src/modules/partition/jobs/ResizePartitionJob.cpp index 5558a61bb..65ee13f72 100644 --- a/src/modules/partition/jobs/ResizePartitionJob.cpp +++ b/src/modules/partition/jobs/ResizePartitionJob.cpp @@ -284,6 +284,14 @@ ResizePartitionJob::updatePreview() m_device->partitionTable()->updateUnallocated( *m_device ); } + +Device* +ResizePartitionJob::device() const +{ + return m_device; +} + + Calamares::JobResult ResizePartitionJob::execJobList( const QList< Calamares::job_ptr >& jobs ) { diff --git a/src/modules/partition/jobs/ResizePartitionJob.h b/src/modules/partition/jobs/ResizePartitionJob.h index 2b43900d6..9ae31130f 100644 --- a/src/modules/partition/jobs/ResizePartitionJob.h +++ b/src/modules/partition/jobs/ResizePartitionJob.h @@ -43,10 +43,7 @@ public: void updatePreview(); - Device* device() const - { - return m_device; - } + Device* device() const; private: Device* m_device;