Fix minor code issues

This commit is contained in:
Jonas Kvinge
2019-09-15 20:27:32 +02:00
parent 83e10aac27
commit 2d67279180
147 changed files with 644 additions and 329 deletions

View File

@@ -117,7 +117,10 @@ retry:
void PulseDeviceFinder::GetSinkInfoCallback(pa_context *c, const pa_sink_info *info, int eol, void *state_voidptr) {
Q_UNUSED(c);
ListDevicesState *state = reinterpret_cast<ListDevicesState*>(state_voidptr);
if (!state) return;
if (info) {
Device dev;