From 2f442dfbe1fd60071e4345eca726bda466496577 Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Wed, 14 Oct 2020 22:38:32 +0200 Subject: [PATCH] Ignore return value --- src/device/devicemanager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/device/devicemanager.cpp b/src/device/devicemanager.cpp index 41fa434c8..54ea86cf2 100644 --- a/src/device/devicemanager.cpp +++ b/src/device/devicemanager.cpp @@ -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);