From 7cf5d6bf840d6870e02073db98505ad613bd82a0 Mon Sep 17 00:00:00 2001 From: Benjamin Reis Date: Tue, 17 Oct 2017 13:52:21 +0200 Subject: [PATCH] Revert "fix(Settings model) use none deprecated apip to fix build" This reverts commit 10a8544ce7bf1bb8ddb8972df2a725d6528c6c5b. --- src/components/settings/SettingsModel.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/settings/SettingsModel.cpp b/src/components/settings/SettingsModel.cpp index 848cd86ab..5b6d92fd1 100644 --- a/src/components/settings/SettingsModel.cpp +++ b/src/components/settings/SettingsModel.cpp @@ -52,7 +52,7 @@ QStringList SettingsModel::getCaptureDevices () const { shared_ptr core = CoreManager::getInstance()->getCore(); QStringList list; - for (const auto &device : core->getSoundDevicesList()) { + for (const auto &device : core->getSoundDevices()) { if (core->soundDeviceCanCapture(device)) list << ::Utils::coreStringToAppString(device); } @@ -64,7 +64,7 @@ QStringList SettingsModel::getPlaybackDevices () const { shared_ptr core = CoreManager::getInstance()->getCore(); QStringList list; - for (const auto &device : core->getSoundDevicesList()) { + for (const auto &device : core->getSoundDevices()) { if (core->soundDeviceCanPlayback(device)) list << ::Utils::coreStringToAppString(device); } @@ -151,7 +151,7 @@ void SettingsModel::setEchoCancellationEnabled (bool status) { QStringList SettingsModel::getVideoDevices () const { QStringList list; - for (const auto &device : CoreManager::getInstance()->getCore()->getVideoDevicesList()) + for (const auto &device : CoreManager::getInstance()->getCore()->getVideoDevices()) list << ::Utils::coreStringToAppString(device); return list;