mirror of
https://github.com/parchlinux/calamares.git
synced 2025-02-25 03:15:44 -05:00
[partition] Use type alias consistently
This commit is contained in:
parent
d630c2aadf
commit
dabd895755
1 changed files with 3 additions and 3 deletions
|
@ -26,6 +26,8 @@ class BootLoaderModel : public QStandardItemModel
|
|||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
using DeviceList = QList< Device* >;
|
||||
|
||||
enum
|
||||
{
|
||||
BootLoaderPathRole = Qt::UserRole + 1,
|
||||
|
@ -39,14 +41,12 @@ public:
|
|||
* Init the model with the list of devices. Does *not* take ownership of the
|
||||
* devices.
|
||||
*/
|
||||
void init( const QList< Device* >& devices );
|
||||
void init( const DeviceList& devices );
|
||||
|
||||
void update();
|
||||
|
||||
QVariant data( const QModelIndex& index, int role = Qt::DisplayRole ) const override;
|
||||
|
||||
using DeviceList = QList< Device* >;
|
||||
|
||||
private:
|
||||
DeviceList m_devices;
|
||||
mutable QMutex m_lock;
|
||||
|
|
Loading…
Add table
Reference in a new issue