mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-27 01:15:38 -04:00
[partition] [fsresizer] Adjust to new #define
- Using KPMCORE4API is clearer than just relying on a version number
This commit is contained in:
parent
9159761171
commit
c0710cabe4
6 changed files with 9 additions and 9 deletions
|
@ -51,7 +51,7 @@
|
|||
|
||||
#include <kpmcore/core/device.h>
|
||||
#include <kpmcore/core/partition.h>
|
||||
#ifdef WITH_KPMCOREGT33
|
||||
#ifdef WITH_KPMCORE4API
|
||||
#include <kpmcore/core/softwareraid.h>
|
||||
#endif
|
||||
|
||||
|
@ -1224,7 +1224,7 @@ ChoicePage::setupActions()
|
|||
bool atLeastOneIsMounted = false; // Suppress 'erase' if so
|
||||
bool isInactiveRAID = false;
|
||||
|
||||
#ifdef WITH_KPMCOREGT33
|
||||
#ifdef WITH_KPMCORE4API
|
||||
if ( currentDevice->type() == Device::Type::SoftwareRAID_Device &&
|
||||
static_cast< SoftwareRAID* >(currentDevice)->status() == SoftwareRAID::Status::Inactive )
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue