kcms/mouse: Make devices into a unique_ptr list
For better memory safety, at the cost of being a tad more verbose.
Had to switch from QList
to std::vector
because the former fails at
using move semantics within QList::takeAt()
.
For better memory safety, at the cost of being a tad more verbose.
Had to switch from QList
to std::vector
because the former fails at
using move semantics within QList::takeAt()
.