Use ItemToIndex and fix memory leaks in devices
This commit is contained in:
@@ -48,7 +48,7 @@ class DeviceProperties : public QDialog {
|
||||
~DeviceProperties();
|
||||
|
||||
void SetDeviceManager(DeviceManager *manager);
|
||||
void ShowDevice(int row);
|
||||
void ShowDevice(QModelIndex idx);
|
||||
|
||||
public slots:
|
||||
void accept();
|
||||
|
||||
Reference in New Issue
Block a user