1
0
mirror of https://github.com/strawberrymusicplayer/strawberry synced 2024-12-11 08:15:30 +01:00

Ignore return value

This commit is contained in:
Jonas Kvinge 2020-10-14 22:38:32 +02:00
parent b2fb01ee9c
commit 2f442dfbe1

View File

@ -102,7 +102,7 @@ DeviceManager::DeviceManager(Application *app, QObject *parent)
connect(this, SIGNAL(DeviceCreatedFromDB(DeviceInfo*)), SLOT(AddDeviceFromDB(DeviceInfo*)));
// This reads from the database and contents on the database mutex, which can be very slow on startup.
QtConcurrent::run(&thread_pool_, std::bind(&DeviceManager::LoadAllDevices, this));
(void)QtConcurrent::run(&thread_pool_, std::bind(&DeviceManager::LoadAllDevices, this));
// This proxy model only shows connected devices
connected_devices_model_ = new DeviceStateFilterModel(this);