mirror of
				https://github.com/Swordfish90/cool-retro-term.git
				synced 2025-10-31 15:12:28 +00:00 
			
		
		
		
	Disable Qt5 Connections warnings.
This commit is contained in:
		| @@ -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 | ||||||
|   | |||||||
 Submodule qmltermwidget updated: e9ea684734...b61d6204e7
									
								
							
		Reference in New Issue
	
	Block a user