From 14b9de401685daf3e9ddc02f6b7aafc324d7e678 Mon Sep 17 00:00:00 2001 From: Juraj Oravec Date: Fri, 15 Apr 2022 13:53:06 +0200 Subject: [PATCH] QML: Add note of not present InitState enums Signed-off-by: Juraj Oravec --- qml/articles/2.Basic_extension.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/qml/articles/2.Basic_extension.md b/qml/articles/2.Basic_extension.md index 19731be..f58dc7f 100644 --- a/qml/articles/2.Basic_extension.md +++ b/qml/articles/2.Basic_extension.md @@ -110,9 +110,11 @@ The full code can be found at Called when extension is loaded. * **state**: possible values - * **Falkon.PluginInterface.InitState.StartupInitState** + * > The init state ENUM is for Falkon QML API version `1.0` broken and + raw values has to be used + * `0` **Falkon.PluginInterface.StartupInitState** Normal init state during Falkon start, nothing to do for us. - * **Falkon.PluginInterface.LateInitState** + * `1` **Falkon.PluginInterface.LateInitState** The extension was loaded long after Falkon started. In this case we need to manually call functions which would normally be called during the start.