Imagine I destroy an object with some of its slots already connected to other objects? Do I run crash risks? And f yes how could I simply clear all theses previously established connections?
Imagine I destroy an object with some of its slots already connected to other objects? Do I run crash risks? And f yes how could I simply clear all theses previously established connections?
From QObject::~QObject() docs:
All signals to and from the object are automatically disconnected
J-P Nurmi
Bookmarks