Index: sources/view/VBluetoothDeviceInfo.h =================================================================== diff -u -r5696b8db4628ee3143d93952c5dbdf511fa985b1 -r5220c64dd3a0fc9c322a68884e73503bb7893d12 --- sources/view/VBluetoothDeviceInfo.h (.../VBluetoothDeviceInfo.h) (revision 5696b8db4628ee3143d93952c5dbdf511fa985b1) +++ sources/view/VBluetoothDeviceInfo.h (.../VBluetoothDeviceInfo.h) (revision 5220c64dd3a0fc9c322a68884e73503bb7893d12) @@ -18,7 +18,8 @@ Q_PROPERTY(bool connected READ isConnected NOTIFY deviceChanged) public: - VBluetoothDeviceInfo(const QBluetoothDeviceInfo &device); + explicit VBluetoothDeviceInfo(const QBluetoothDeviceInfo &device); + VBluetoothDeviceInfo(const QString &_address, const QString &_name); QString getName() const; QString getAddress() const; bool isConnected() const; @@ -35,8 +36,9 @@ return true; } - QBluetoothDeviceInfo device; - bool connected; + QString _address; + QString _name; + bool _connected; }; }