1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-10-31 15:07:12 -04:00

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

This commit is contained in:
f4exb 2022-07-20 04:56:40 +02:00
parent d0d88a7b3c
commit e39277269c
2 changed files with 16 additions and 9 deletions

View File

@ -312,6 +312,7 @@ DATVDemodGUI::DATVDemodGUI(PluginAPI* objPluginAPI, DeviceUISet *deviceUISet, Ba
DATVDemodGUI::~DATVDemodGUI()
{
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;
}

View File

@ -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>