From 0cd486414e77e82344633e8ca580cef75b89feb4 Mon Sep 17 00:00:00 2001 From: "Julien M." Date: Wed, 25 Sep 2024 21:37:40 +0200 Subject: [PATCH 1/2] fix(init): remove QChat import outside try/except --- qtribu/plugin_main.py | 1 - 1 file changed, 1 deletion(-) diff --git a/qtribu/plugin_main.py b/qtribu/plugin_main.py index 22633242..9bd2b5fe 100644 --- a/qtribu/plugin_main.py +++ b/qtribu/plugin_main.py @@ -18,7 +18,6 @@ # project from qtribu.__about__ import DIR_PLUGIN_ROOT, __icon_path__, __title__, __uri_homepage__ from qtribu.constants import ICON_ARTICLE, ICON_GEORDP -from qtribu.gui.dck_qchat import QChatWidget from qtribu.gui.dlg_contents import GeotribuContentsDialog from qtribu.gui.dlg_settings import PlgOptionsFactory from qtribu.gui.form_article import ArticleForm From bdbfbb5d69cf96c04a8611f5c2fe2bf58d68954d Mon Sep 17 00:00:00 2001 From: "Julien M." Date: Wed, 25 Sep 2024 21:42:08 +0200 Subject: [PATCH 2/2] update(init): make notification's duration unlimited --- qtribu/plugin_main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qtribu/plugin_main.py b/qtribu/plugin_main.py index 9bd2b5fe..06756692 100644 --- a/qtribu/plugin_main.py +++ b/qtribu/plugin_main.py @@ -336,7 +336,7 @@ def check_dependencies(self) -> bool: ), log_level=2, push=True, - duration=60, + duration=0, button=True, button_connect=partial( QDesktopServices.openUrl,