add error handling in image capturing in camera

Task-number: QTBUG-28589
Change-Id: Ib3a04038c16beba66f8b8cff85b310dad9a4460a
Reviewed-by: Andy Nichols <andy.nichols@digia.com>
This commit is contained in:
Jing Bai
2012-12-13 14:00:02 +01:00
committed by The Qt Project
parent d396262bc9
commit 13ecd7171b
3 changed files with 15 additions and 1 deletions

View File

@@ -138,6 +138,9 @@
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QPushButton" name="takeImageButton">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Capture Photo</string>
</property>
@@ -245,7 +248,7 @@
<x>0</x>
<y>0</y>
<width>668</width>
<height>29</height>
<height>25</height>
</rect>
</property>
<widget class="QMenu" name="menuFile">