1
0
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:
Marcel 2014-09-12 15:45:02 +02:00
parent 28e8406be9
commit 4e5d1c170b

View File

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