KDBindings icon indicating copy to clipboard operation
KDBindings copied to clipboard

Add `[[warn_unused_result]]` for ConnectionHandle

Open LeonMatthesKDAB opened this issue 9 months ago • 0 comments

Forgetting to disconnect a connection can lead to serious issues.

So we should allow users to at least get a warning in that case.

However, we likely want to put this behind a flag of some sort to not break existing code.

LeonMatthesKDAB avatar Sep 27 '23 09:09 LeonMatthesKDAB