1
0
mirror of https://github.com/strawberrymusicplayer/strawberry synced 2025-01-29 08:39:33 +01:00

Remove reset

This commit is contained in:
Jonas Kvinge 2018-09-30 00:08:09 +02:00
parent 64bcdf4734
commit b07ae3d34e
2 changed files with 1 additions and 3 deletions

View File

@ -64,7 +64,6 @@ ConnectedDevice::ConnectedDevice(const QUrl &url, DeviceLister *lister, const QS
// Create the model
model_ = new CollectionModel(backend_, app_, this);
model_->Reset();
}

View File

@ -69,8 +69,7 @@
const int DeviceItemDelegate::kIconPadding = 6;
DeviceItemDelegate::DeviceItemDelegate(QObject *parent)
: CollectionItemDelegate(parent) {}
DeviceItemDelegate::DeviceItemDelegate(QObject *parent) : CollectionItemDelegate(parent) {}
void DeviceItemDelegate::paint(QPainter *p, const QStyleOptionViewItem &opt, const QModelIndex &index) const {