aboutsummaryrefslogtreecommitdiff
path: root/src/main.qml
diff options
context:
space:
mode:
authorDaniel Teichmann <daniel.teichmann@das-netzwerkteam.de>2021-08-01 02:22:57 +0200
committerDaniel Teichmann <daniel.teichmann@das-netzwerkteam.de>2021-08-01 02:25:13 +0200
commit35343e5158ca441f8001c0a91685f4e93b53cb03 (patch)
treed3bf2c6b4396644b2e33a675217d9f1a002bf85c /src/main.qml
parent766a90125df68f065495354c20412faf9e1df77a (diff)
downloadRWA.Support.DesktopApp-35343e5158ca441f8001c0a91685f4e93b53cb03.tar.gz
RWA.Support.DesktopApp-35343e5158ca441f8001c0a91685f4e93b53cb03.tar.bz2
RWA.Support.DesktopApp-35343e5158ca441f8001c0a91685f4e93b53cb03.zip
Toast: Add a variety of new toast colors; Session complete rewrite; A lot of bugfixing;
New available toast colors/types: ToastType.Standard, ToastType.Info, ToastType.Warning ToastType.Success, ToastType.Error
Diffstat (limited to 'src/main.qml')
-rw-r--r--src/main.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.qml b/src/main.qml
index 4782f4b..af41dd1 100644
--- a/src/main.qml
+++ b/src/main.qml
@@ -107,8 +107,8 @@ ApplicationWindow {
Connections {
target: mainqmladaptor
- onShowToastSignal: {
- toast.show(text, durationMs)
+ function onShowToastSignal(text, durationMs, type) {
+ toast.show(text, durationMs, type)
}
}