diff options
author | Robert C. Helling <helling@atdotde.de> | 2020-12-11 17:31:04 +0100 |
---|---|---|
committer | bstoeger <32835590+bstoeger@users.noreply.github.com> | 2020-12-12 16:37:29 +0100 |
commit | e7a18456c90f80433b6a6306dfdbd3b7bf016b76 (patch) | |
tree | 5d145155471c555331684415f35ef10566605968 /desktop-widgets | |
parent | 11eec0a503df9df5619a294c2769437c4fee36ea (diff) | |
download | subsurface-e7a18456c90f80433b6a6306dfdbd3b7bf016b76.tar.gz |
Add surge etc to printing template variables
Signed-off-by: Robert C. Helling <helling@atdotde.de>
Diffstat (limited to 'desktop-widgets')
-rw-r--r-- | desktop-widgets/templatelayout.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/desktop-widgets/templatelayout.cpp b/desktop-widgets/templatelayout.cpp index 76d6e771f..10907767b 100644 --- a/desktop-widgets/templatelayout.cpp +++ b/desktop-widgets/templatelayout.cpp @@ -480,6 +480,14 @@ QVariant TemplateLayout::getValue(QString list, QString property, QVariant optio return object.rating; } else if (property == "visibility") { return object.visibility; + } else if (property == "wavesize") { + return object.wavesize; + } else if (property == "current") { + return object.current; + } else if (property == "surge") { + return object.surge; + } else if (property == "chill") { + return object.chill; } else if (property == "date") { return object.date(); } else if (property == "time") { |