bandwidthmanager: Fix unregistering devices on delete
authorOlivier Goffart <ogoffart@woboq.com>
Mon, 25 Sep 2017 09:55:18 +0000 (11:55 +0200)
committerRoeland Jago Douma <roeland@famdouma.nl>
Thu, 5 Oct 2017 20:01:36 +0000 (22:01 +0200)
commitfd9662b8034190ac4c3e55bbad6aad963d83e492
tree18b22ef72fb01274303d4dbf81a1db5873402f55
parent37810c0a19522283dbbcab4bf7759e22c97fe550
bandwidthmanager: Fix unregistering devices on delete

from the destroyed signal, qobject_cast won't work because the object
is already destroyed. One must use reinterpret_cast then
src/libsync/bandwidthmanager.cpp
src/libsync/bandwidthmanager.h