DATV demod: fixed TV screen but on exit and UI cosmetic changes

pull/1354/head
f4exb 2022-07-20 04:56:40 +02:00
rodzic d0d88a7b3c
commit e39277269c
2 zmienionych plików z 16 dodań i 9 usunięć

Wyświetl plik

@ -311,7 +311,8 @@ DATVDemodGUI::DATVDemodGUI(PluginAPI* objPluginAPI, DeviceUISet *deviceUISet, Ba
DATVDemodGUI::~DATVDemodGUI()
{
ui->screenTV->setParent(nullptr); // Prefer memory leak to core dump... ~TVScreen() is buggy
ui->screenTV->setParent(nullptr); // Prefer memory leak to core dump... ~TVScreen() is buggy
ui->screenTV_2->setParent(nullptr); // Prefer memory leak to core dump... ~DATVideoRender() is buggy
delete ui;
}

Wyświetl plik

@ -6,7 +6,7 @@
<rect>
<x>0</x>
<y>0</y>
<width>530</width>
<width>540</width>
<height>476</height>
</rect>
</property>
@ -18,13 +18,13 @@
</property>
<property name="minimumSize">
<size>
<width>530</width>
<width>540</width>
<height>442</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>530</width>
<width>540</width>
<height>476</height>
</size>
</property>
@ -45,7 +45,7 @@
<rect>
<x>0</x>
<y>0</y>
<width>521</width>
<width>531</width>
<height>41</height>
</rect>
</property>
@ -193,7 +193,7 @@
<rect>
<x>0</x>
<y>40</y>
<width>526</width>
<width>536</width>
<height>431</height>
</rect>
</property>
@ -205,10 +205,16 @@
</property>
<property name="minimumSize">
<size>
<width>526</width>
<width>536</width>
<height>400</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>536</width>
<height>16777215</height>
</size>
</property>
<property name="windowTitle">
<string>DATV</string>
</property>
@ -1116,7 +1122,7 @@
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@ -1368,7 +1374,7 @@
<item>
<widget class="DATVideoRender" name="screenTV_2" native="true">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>