Browse Source

do not use getInstance of camera

pull/284/head
Marcel 11 years ago
parent
commit
4e5d1c170b
  1. 2
      widget/settingsdialog.cpp

2
widget/settingsdialog.cpp

@ -111,7 +111,7 @@ public: @@ -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…
Cancel
Save