39 |
m_pMainForm = NULL; |
m_pMainForm = NULL; |
40 |
m_pClient = NULL; |
m_pClient = NULL; |
41 |
m_iDirtySetup = 0; |
m_iDirtySetup = 0; |
42 |
|
m_iDirtyCount = 0; |
43 |
m_bNewDevice = false; |
m_bNewDevice = false; |
44 |
m_deviceType = qsamplerDevice::None; |
m_deviceType = qsamplerDevice::None; |
45 |
m_pAudioItems = NULL; |
m_pAudioItems = NULL; |
83 |
|
|
84 |
if (m_pMainForm) |
if (m_pMainForm) |
85 |
m_pMainForm->stabilizeForm(); |
m_pMainForm->stabilizeForm(); |
86 |
|
|
87 |
|
// Signal special whether we changed the device set. |
88 |
|
if (m_iDirtyCount > 0) { |
89 |
|
m_iDirtyCount = 0; |
90 |
|
emit devicesChanged(); |
91 |
|
} |
92 |
} |
} |
93 |
|
|
94 |
|
|
182 |
DeviceListView->setSelected(pDeviceItem, true); |
DeviceListView->setSelected(pDeviceItem, true); |
183 |
// Main session should be marked dirty. |
// Main session should be marked dirty. |
184 |
m_pMainForm->sessionDirty(); |
m_pMainForm->sessionDirty(); |
185 |
|
m_iDirtyCount++; |
186 |
} |
} |
187 |
} |
} |
188 |
|
|
217 |
delete pItem; |
delete pItem; |
218 |
// Main session should be marked dirty. |
// Main session should be marked dirty. |
219 |
m_pMainForm->sessionDirty(); |
m_pMainForm->sessionDirty(); |
220 |
|
m_iDirtyCount++; |
221 |
} |
} |
222 |
} |
} |
223 |
|
|