KDAB / cxx-qt

Safe interop between Rust and Qt
https://kdab.github.io/cxx-qt/book/
964 stars 66 forks source link

signals: use #[must_use] when returning a QMetaObjectConnectionGuard #932

Closed ahayzen-kdab closed 2 months ago

ahayzen-kdab commented 2 months ago

Before we used to return a QMetaObjectConnection which used to disconnection now we have two types, so ensure #[must_use] is in the right place.

Closes #930

ahayzen-kdab commented 2 months ago

Good idea, i'll try that :-)