Skip to content

src/commands/*: use PMF/Functor signal/slot syntax

Ahmad Samir requested to merge work/ahmad/signals into master

SetInitialPinCommand: port to PMF signal/slot syntax

Before the previous commit slotDialogRejected/Accepted() couldn't be called in the Functors in connect(), as the captured 'this' pointer was a pointer to non-const.

==========

SetInitialPinCommand: ensureDialogCreated() shouldn't be const

It's creating the dialog and assigning it to a member.

==========

ReloadKeysCommand: use KeyCache::instance() instead of mutableInstance() in connect call.

Edited by Ahmad Samir

Merge request reports