mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
refactor: remove Core::getInstance from AvForm
This commit is contained in:
parent
ef18afcbf1
commit
ea46c0caf2
|
@ -454,8 +454,7 @@ void AVForm::on_videoDevCombobox_currentIndexChanged(int index)
|
|||
|
||||
camera.setupDevice(dev, mode);
|
||||
if (dev == "none") {
|
||||
// TODO: Use injected `coreAv` currently injected `nullptr`
|
||||
Core::getInstance()->getAv()->sendNoVideo();
|
||||
coreAV->sendNoVideo();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user