[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
prettyGptType( const Partition* partition )
{
#ifdef WITH_KPMCORE42API
return prettyGptType( partition->type() );
#else
return QString();
#endif
}
static QString