1
0
mirror of https://github.com/Swordfish90/cool-retro-term.git synced 2024-10-05 18:40:49 +01:00

Disable Qt5 Connections warnings.

This commit is contained in:
Filippo Scognamiglio 2022-01-09 10:47:02 +01:00
parent 997131ba64
commit 06e7191056
2 changed files with 5 additions and 1 deletions

View File

@ -12,6 +12,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <QFontDatabase> #include <QFontDatabase>
#include <QLoggingCategory>
#include <fileio.h> #include <fileio.h>
#include <monospacefontmanager.h> #include <monospacefontmanager.h>
@ -34,6 +35,9 @@ int main(int argc, char *argv[])
// This disables QT appmenu under Ubuntu, which is not working with QML apps. // This disables QT appmenu under Ubuntu, which is not working with QML apps.
setenv("QT_QPA_PLATFORMTHEME", "", 1); setenv("QT_QPA_PLATFORMTHEME", "", 1);
// Disable Connections slot warnings
QLoggingCategory::setFilterRules("qt.qml.connections.warning=false");
#if defined (Q_OS_LINUX) #if defined (Q_OS_LINUX)
setenv("QSG_RENDER_LOOP", "threaded", 0); setenv("QSG_RENDER_LOOP", "threaded", 0);
#endif #endif

@ -1 +1 @@
Subproject commit e9ea68473416f7de6ec927ac72d144a0f464c490 Subproject commit b61d6204e759b45bf89104f12ed2f18a1ddc679f