uvosled changes
This commit is contained in:
parent
6b7276d99d
commit
0f764776b8
2 changed files with 5 additions and 7 deletions
|
|
@ -88,8 +88,6 @@ int main(int argc, char *argv[])
|
|||
// TODO: figure out how to do this better
|
||||
sleep(10);
|
||||
}
|
||||
|
||||
uvosledRet = -1;
|
||||
|
||||
Cameras cameras(uvosledRet < 0 ? nullptr : &led);
|
||||
cameras.setFree(false);
|
||||
|
|
@ -111,7 +109,7 @@ int main(int argc, char *argv[])
|
|||
|
||||
QObject::connect(&w, &MainWindow::sigEditProfiles, [&cameras, &w](){showProfileDialog(&cameras); w.refreshProfiles();});
|
||||
QObject::connect(&pipe, &ImagePipeline::sigResult, w.mainImageViewer(), &CvImageViewer::setImage, Qt::QueuedConnection);
|
||||
QObject::connect(&pipe, &ImagePipeline::sigResult, [&w](){w->statusMsg("idle");});
|
||||
QObject::connect(&pipe, &ImagePipeline::sigResult, [&w](){w.statusMsg("idle");});
|
||||
QObject::connect(&pipe, &ImagePipeline::sigInvalidProfile, &w, &MainWindow::profileInconpatible);
|
||||
|
||||
QObject::connect(&w, &MainWindow::sigProfile, [&pipe](QString name)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue