Global connection management?
Solved
General and Desktop
-
Hi, every one, here's a simple question....Is there a generic way to manage the whole application's connections to prevent duplicated connections? Sometimes I use lambda so maybe uniqueConnection is not the best option
I am using Qt 5.15, thank you in advance
-
Hi,
The only answer is: write correct code and test it.
If you need unique connections everywhere as a convenience it usually means that you know you are writing code that should be resistant to that.
-
That depends on your application implementation.