[partition] Fix build with legacy kpmcore

This commit is contained in:
Adriaan de Groot 2021-01-20 14:54:12 +01:00
parent 31bf38977e
commit 520f08bbba

View file

@ -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