mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-06-15 21:22:40 +00:00
Cleanup ComputerModel and remove root Frame from PcView
This commit is contained in:
@@ -4,6 +4,8 @@
|
||||
|
||||
class ComputerModel : public QAbstractListModel
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
enum Roles
|
||||
{
|
||||
NameRole = Qt::UserRole,
|
||||
@@ -14,7 +16,7 @@ class ComputerModel : public QAbstractListModel
|
||||
};
|
||||
|
||||
public:
|
||||
ComputerModel(QObject* object = nullptr);
|
||||
explicit ComputerModel(QObject* object = nullptr);
|
||||
|
||||
QVariant data(const QModelIndex &index, int role) const override;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user