mirror of
https://github.com/parchlinux/calamares.git
synced 2025-02-24 19:05:46 -05:00
[partition] Tighten up types
Don't return the generic Abstract model for bootloader, but the subclass pointer, so that consumers can use the convenience API on the subclass.
This commit is contained in:
parent
d0276fd25f
commit
43c172f54d
2 changed files with 2 additions and 2 deletions
|
@ -340,7 +340,7 @@ PartitionCoreModule::deviceModel() const
|
|||
return m_deviceModel;
|
||||
}
|
||||
|
||||
QAbstractItemModel*
|
||||
BootLoaderModel*
|
||||
PartitionCoreModule::bootLoaderModel() const
|
||||
{
|
||||
return m_bootLoaderModel;
|
||||
|
|
|
@ -122,7 +122,7 @@ public:
|
|||
* The single BootLoaderModel instance belongs to the PCM.
|
||||
* @return the BootLoaderModel.
|
||||
*/
|
||||
QAbstractItemModel* bootLoaderModel() const;
|
||||
BootLoaderModel* bootLoaderModel() const;
|
||||
|
||||
void createPartitionTable( Device* device, PartitionTable::TableType type );
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue