DeviceFinder: Add typedef DeviceList

This commit is contained in:
Jonas Kvinge
2023-06-01 18:43:43 +02:00
parent 8e14ef7c0c
commit a5a29f7ad3
15 changed files with 29 additions and 42 deletions

View File

@@ -80,10 +80,10 @@ bool PulseDeviceFinder::Reconnect() {
}
}
QList<DeviceFinder::Device> PulseDeviceFinder::ListDevices() {
DeviceFinder::DeviceList PulseDeviceFinder::ListDevices() {
if (!context_ || pa_context_get_state(context_) != PA_CONTEXT_READY) {
return QList<Device>();
return DeviceList();
}
retry: