summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir/facetracknoir.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'facetracknoir/facetracknoir.cpp')
-rw-r--r--facetracknoir/facetracknoir.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/facetracknoir/facetracknoir.cpp b/facetracknoir/facetracknoir.cpp
index aa072401..bb0cef11 100644
--- a/facetracknoir/facetracknoir.cpp
+++ b/facetracknoir/facetracknoir.cpp
@@ -1022,8 +1022,7 @@ void FaceTrackNoIR::createIconGroupBox()
QIcon icon;
QString longName;
QString str = protocols.at(i);
- QByteArray latin1 = str.toLatin1();
- DynamicLibrary* lib = new DynamicLibrary(latin1.constData());
+ DynamicLibrary* lib = new DynamicLibrary(str);
qDebug() << "Loading" << str;
std::cout.flush();
Metadata* meta;
@@ -1047,8 +1046,7 @@ void FaceTrackNoIR::createIconGroupBox()
QIcon icon;
QString longName;
QString str = trackers.at(i);
- QByteArray latin1 = str.toLatin1();
- DynamicLibrary* lib = new DynamicLibrary(latin1.constData());
+ DynamicLibrary* lib = new DynamicLibrary(str);
qDebug() << "Loading" << str;
std::cout.flush();
Metadata* meta;
@@ -1074,8 +1072,7 @@ void FaceTrackNoIR::createIconGroupBox()
QIcon icon;
QString fullName;
QString str = filters.at(i);
- QByteArray latin1 = str.toLatin1();
- DynamicLibrary* lib = new DynamicLibrary(latin1.constData());
+ DynamicLibrary* lib = new DynamicLibrary(str);
qDebug() << "Loading" << str;
std::cout.flush();
Metadata* meta;