mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2025-01-30 09:05:04 +01:00
Remove reset
This commit is contained in:
parent
64bcdf4734
commit
b07ae3d34e
@ -64,7 +64,6 @@ ConnectedDevice::ConnectedDevice(const QUrl &url, DeviceLister *lister, const QS
|
|||||||
|
|
||||||
// Create the model
|
// Create the model
|
||||||
model_ = new CollectionModel(backend_, app_, this);
|
model_ = new CollectionModel(backend_, app_, this);
|
||||||
model_->Reset();
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -69,8 +69,7 @@
|
|||||||
|
|
||||||
const int DeviceItemDelegate::kIconPadding = 6;
|
const int DeviceItemDelegate::kIconPadding = 6;
|
||||||
|
|
||||||
DeviceItemDelegate::DeviceItemDelegate(QObject *parent)
|
DeviceItemDelegate::DeviceItemDelegate(QObject *parent) : CollectionItemDelegate(parent) {}
|
||||||
: CollectionItemDelegate(parent) {}
|
|
||||||
|
|
||||||
void DeviceItemDelegate::paint(QPainter *p, const QStyleOptionViewItem &opt, const QModelIndex &index) const {
|
void DeviceItemDelegate::paint(QPainter *p, const QStyleOptionViewItem &opt, const QModelIndex &index) const {
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user