1
0
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:
sudden6 2020-05-01 15:06:38 +02:00
parent ef18afcbf1
commit ea46c0caf2
No known key found for this signature in database
GPG Key ID: 279509B499E032B9

View File

@ -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();
}
}