Browse Source

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

chirpmodem-v8.0.0
f4exb 4 years ago
parent
commit
e39277269c
  1. 3
      plugins/channelrx/demoddatv/datvdemodgui.cpp
  2. 22
      plugins/channelrx/demoddatv/datvdemodgui.ui

3
plugins/channelrx/demoddatv/datvdemodgui.cpp

@ -311,7 +311,8 @@ DATVDemodGUI::DATVDemodGUI(PluginAPI* objPluginAPI, DeviceUISet *deviceUISet, Ba @@ -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;
}

22
plugins/channelrx/demoddatv/datvdemodgui.ui

@ -6,7 +6,7 @@ @@ -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 @@ @@ -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 @@ @@ -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 @@ @@ -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 @@ @@ -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 @@ @@ -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 @@ @@ -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>

Loading…
Cancel
Save