summaryrefslogtreecommitdiffhomepage
path: root/gui/main-window.ui
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-03-01 20:35:16 +0100
committerStanislaw Halik <sthalik@misaki.pl>2017-03-01 20:35:16 +0100
commit77cf9ec80947da8d82f8a9d514c98595765454d6 (patch)
tree29d91493b5a1ff2361092dbc2ec1f9eb7dd365aa /gui/main-window.ui
parent303c83792cd034fc2bf40e71edde968c22df5324 (diff)
tracker/pt: don't crash in cv::resize
next hotfix or bust
Diffstat (limited to 'gui/main-window.ui')
-rw-r--r--gui/main-window.ui20
1 files changed, 19 insertions, 1 deletions
diff --git a/gui/main-window.ui b/gui/main-window.ui
index 33ee99d3..db75a20d 100644
--- a/gui/main-window.ui
+++ b/gui/main-window.ui
@@ -99,7 +99,7 @@
<item>
<widget class="QFrame" name="video_feed">
<property name="sizePolicy">
- <sizepolicy hsizetype="Maximum" vsizetype="Maximum">
+ <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@@ -110,6 +110,12 @@
<height>240</height>
</size>
</property>
+ <property name="maximumSize">
+ <size>
+ <width>320</width>
+ <height>240</height>
+ </size>
+ </property>
<widget class="QFrame" name="video_frame">
<property name="geometry">
<rect>
@@ -125,6 +131,18 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
+ <property name="minimumSize">
+ <size>
+ <width>320</width>
+ <height>240</height>
+ </size>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>320</width>
+ <height>240</height>
+ </size>
+ </property>
<widget class="QLabel" name="video_frame_label">
<property name="geometry">
<rect>