parent
1e3171a379
commit
5948a704d2
|
|
@ -190,7 +190,6 @@ Tag* TagsManager::unpackTag(const QVariantMap &tagMap)
|
|||
tag->setRuleId(ruleId);
|
||||
} else {
|
||||
qCWarning(dcTags()) << "Invalid tag. Neither thingId nor ruleId are set. Skipping...";
|
||||
tag->deleteLater();
|
||||
return nullptr;
|
||||
}
|
||||
// qDebug() << "adding tag" << tag->tagId() << tag->value();
|
||||
|
|
|
|||
|
|
@ -54,6 +54,18 @@ ApplicationWindow {
|
|||
font.capitalization: Font.MixedCase
|
||||
font.family: Style.fontFamily
|
||||
|
||||
Binding {
|
||||
target: PlatformHelper
|
||||
property: "topPanelColor"
|
||||
value: app.color
|
||||
}
|
||||
|
||||
Binding {
|
||||
target: PlatformHelper
|
||||
property: "bottomPanelColor"
|
||||
value: app.color
|
||||
}
|
||||
|
||||
property int margins: 16
|
||||
property int bigMargins: 20
|
||||
|
||||
|
|
@ -85,8 +97,6 @@ ApplicationWindow {
|
|||
|
||||
Component.onCompleted: {
|
||||
styleController.setSystemFont(app.font)
|
||||
PlatformHelper.topPanelColor = Style.backgroundColor
|
||||
PlatformHelper.bottomPanelColor = Style.backgroundColor
|
||||
}
|
||||
|
||||
Binding {
|
||||
|
|
|
|||
Loading…
Reference in New Issue