Sun, 14 Nov 2021 21:45:45 +0200
Clean unnecessary code
<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>FindFile</class> <widget class="QDialog" name="FindFile"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>326</width> <height>90</height> </rect> </property> <property name="windowTitle"> <string>Dialog</string> </property> <property name="windowIcon"> <iconset resource="../../zcinema.qrc"> <normaloff>:/icons/zcinema.ico</normaloff>:/icons/zcinema.ico</iconset> </property> <layout class="QVBoxLayout" name="verticalLayout"> <item> <widget class="QLabel" name="label"> <property name="text"> <string><b>Please select a demo file to play back.</b></string> </property> </widget> </item> <item> <layout class="QHBoxLayout" name="horizontalLayout"> <item> <widget class="QLineEdit" name="m_path"/> </item> <item> <widget class="QPushButton" name="m_find"> <property name="text"> <string>...</string> </property> </widget> </item> </layout> </item> <item> <widget class="QDialogButtonBox" name="buttonBox"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="standardButtons"> <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> </property> </widget> </item> </layout> </widget> <resources> <include location="../../zcinema.qrc"/> </resources> <connections> <connection> <sender>buttonBox</sender> <signal>accepted()</signal> <receiver>FindFile</receiver> <slot>accept()</slot> <hints> <hint type="sourcelabel"> <x>248</x> <y>254</y> </hint> <hint type="destinationlabel"> <x>157</x> <y>274</y> </hint> </hints> </connection> <connection> <sender>buttonBox</sender> <signal>rejected()</signal> <receiver>FindFile</receiver> <slot>reject()</slot> <hints> <hint type="sourcelabel"> <x>316</x> <y>260</y> </hint> <hint type="destinationlabel"> <x>286</x> <y>274</y> </hint> </hints> </connection> </connections> </ui>