Commit 403ebd50 authored by Pino Toscano's avatar Pino Toscano
Browse files

usb: wrap initialization

It will be easier to edit in following changes.
parent d37d11a3
......@@ -35,8 +35,32 @@ QList<USBDevice*> USBDevice::_devices;
USBDB *USBDevice::_db;
USBDevice::USBDevice() :
_bus(0), _level(0), _parent(0), _port(0), _count(0), _device(0), _channels(0), _power(0), _speed(0.0), _bwTotal(0), _bwUsed(0), _bwPercent(0), _bwIntr(0), _bwIso(0), _hasBW(false), _verMajor(0), _verMinor(0), _class(0), _sub(0), _prot(0), _maxPacketSize(0), _configs(0), _vendorID(0),
_prodID(0), _revMajor(0), _revMinor(0) {
_revMinor(0) {
if (!_db)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment