summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir/facetracknoir.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-09-13 14:09:08 +0200
committerStanislaw Halik <sthalik@misaki.pl>2014-09-13 14:09:08 +0200
commitd4dd9675276093817756187c04d89f10da2df02e (patch)
tree3fefb989b5eb7cbacb39e242ecb05780dea7ff13 /facetracknoir/facetracknoir.cpp
parent96e5dcb54b932d65c6d3bf9e9364226da21486ee (diff)
nix comment cancer
Diffstat (limited to 'facetracknoir/facetracknoir.cpp')
-rw-r--r--facetracknoir/facetracknoir.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/facetracknoir/facetracknoir.cpp b/facetracknoir/facetracknoir.cpp
index d717b3be..8df368cd 100644
--- a/facetracknoir/facetracknoir.cpp
+++ b/facetracknoir/facetracknoir.cpp
@@ -26,7 +26,7 @@
#include "tracker.h"
#include "curve-config.h"
#include "opentrack-version.h"
-#include <QDebug>
+#include <QFileDialog>
#if defined(_WIN32)
# include <windows.h>
@@ -185,7 +185,6 @@ void FaceTrackNoIR::GetCameraNameDX() {
#if defined(_WIN32)
ui.cameraName->setText("No video-capturing device was found in your system: check if it's connected!");
- // Create the System Device Enumerator.
HRESULT hr;
ICreateDevEnum *pSysDevEnum = NULL;
hr = CoCreateInstance(CLSID_SystemDeviceEnum, NULL, CLSCTX_INPROC_SERVER, IID_ICreateDevEnum, (void **)&pSysDevEnum);
@@ -197,7 +196,6 @@ void FaceTrackNoIR::GetCameraNameDX() {
qDebug() << "GetWDM says: CoCreateInstance succeeded!";
- // Obtain a class enumerator for the video compressor category.
IEnumMoniker *pEnumCat = NULL;
hr = pSysDevEnum->CreateClassEnumerator(CLSID_VideoInputDeviceCategory, &pEnumCat, 0);