From 06e71910569c05f85730707b8a81ee793d27c0fb Mon Sep 17 00:00:00 2001 From: Filippo Scognamiglio Date: Sun, 9 Jan 2022 10:47:02 +0100 Subject: [PATCH] Disable Qt5 Connections warnings. --- app/main.cpp | 4 ++++ qmltermwidget | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/app/main.cpp b/app/main.cpp index 386bded..afd0834 100644 --- a/app/main.cpp +++ b/app/main.cpp @@ -12,6 +12,7 @@ #include #include +#include #include #include @@ -34,6 +35,9 @@ int main(int argc, char *argv[]) // This disables QT appmenu under Ubuntu, which is not working with QML apps. setenv("QT_QPA_PLATFORMTHEME", "", 1); + // Disable Connections slot warnings + QLoggingCategory::setFilterRules("qt.qml.connections.warning=false"); + #if defined (Q_OS_LINUX) setenv("QSG_RENDER_LOOP", "threaded", 0); #endif diff --git a/qmltermwidget b/qmltermwidget index e9ea684..b61d620 160000 --- a/qmltermwidget +++ b/qmltermwidget @@ -1 +1 @@ -Subproject commit e9ea68473416f7de6ec927ac72d144a0f464c490 +Subproject commit b61d6204e759b45bf89104f12ed2f18a1ddc679f