summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir/facetracknoir.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-10-24 10:22:58 +0200
committerStanislaw Halik <sthalik@misaki.pl>2014-10-24 10:22:58 +0200
commit84a703b9319ade409d87372d0daa6d6396684027 (patch)
treed2eb52f90f7ae55b3a030229b3a0db0fccb0b195 /facetracknoir/facetracknoir.cpp
parent85aa1942a789c3df99a3a5b1a87485cc050be28e (diff)
nix ui taking too much vertical space
Diffstat (limited to 'facetracknoir/facetracknoir.cpp')
-rw-r--r--facetracknoir/facetracknoir.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/facetracknoir/facetracknoir.cpp b/facetracknoir/facetracknoir.cpp
index 13f186e5..6c87047e 100644
--- a/facetracknoir/facetracknoir.cpp
+++ b/facetracknoir/facetracknoir.cpp
@@ -38,7 +38,9 @@ FaceTrackNoIR::FaceTrackNoIR() :
{
ui.setupUi(this);
+ adjustSize();
setFixedSize(size());
+
updateButtonState(false, false);
ui.video_frame_label->setPixmap(no_feed_pixmap);
QDir::setCurrent(QCoreApplication::applicationDirPath());