mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
do not use getInstance of camera
This commit is contained in:
parent
28e8406be9
commit
4e5d1c170b
|
@ -111,7 +111,7 @@ public:
|
|||
{
|
||||
QGroupBox *group = new QGroupBox(tr("Video Settings"), this);
|
||||
|
||||
camView = new SelfCamView(Camera::getInstance());
|
||||
camView = new SelfCamView(parent->getWidget()->getCamera());
|
||||
camView->hide(); // hide by default
|
||||
testVideo = new QPushButton("enable video");
|
||||
connect(testVideo, SIGNAL(clicked()), this, SLOT(onTestVideoPressed()));
|
||||
|
|
Loading…
Reference in New Issue
Block a user