Fix warning from missing inline media controller
This commit is contained in:
parent
3286fd154d
commit
7e6d1591b1
@ -43,8 +43,8 @@ class TagsProxyModel : public QSortFilterProxyModel
|
||||
public:
|
||||
explicit TagsProxyModel(QObject *parent = nullptr);
|
||||
|
||||
Tags* tags() const;
|
||||
void setTags(Tags* tags);
|
||||
Tags *tags() const;
|
||||
void setTags(Tags *tags);
|
||||
|
||||
QString filterTagId() const;
|
||||
void setFilterTagId(const QString &filterTagId);
|
||||
|
||||
@ -233,7 +233,11 @@ MainPageTile {
|
||||
var d = thingsProxy.get(i);
|
||||
var st = d.thingClass.stateTypes.findByName("playbackStatus")
|
||||
var s = d.states.getState(st.id)
|
||||
s.valueChanged.connect(function() {inlineMediaControl.updateTile()})
|
||||
s.valueChanged.connect(function() {
|
||||
if (inlineMediaControl) {
|
||||
inlineMediaControl.updateTile()
|
||||
}
|
||||
})
|
||||
}
|
||||
updateTile();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user