[partition] Fix build with legacy kpmcore
This commit is contained in:
parent
31bf38977e
commit
520f08bbba
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user