mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-30 02:45:37 -04:00
[partition] Fix build with legacy kpmcore
This commit is contained in:
parent
31bf38977e
commit
520f08bbba
1 changed files with 4 additions and 0 deletions
|
@ -74,7 +74,11 @@ prettyGptType( const QString& type )
|
||||||
static QString
|
static QString
|
||||||
prettyGptType( const Partition* partition )
|
prettyGptType( const Partition* partition )
|
||||||
{
|
{
|
||||||
|
#ifdef WITH_KPMCORE42API
|
||||||
return prettyGptType( partition->type() );
|
return prettyGptType( partition->type() );
|
||||||
|
#else
|
||||||
|
return QString();
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
static QString
|
static QString
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue