Fix problem in restoring mainwindow width on restart. Tnx Mike, W9MDB.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8581 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor 2018-03-21 20:15:46 +00:00
parent a09c7ced68
commit 4a7de89ab4
2 changed files with 11 additions and 2 deletions

View File

@ -1065,6 +1065,9 @@ void MainWindow::writeSettings()
//---------------------------------------------------------- readSettings()
void MainWindow::readSettings()
{
ui->cbVHFcontest->setVisible(false);
ui->cbAutoSeq->setVisible(false);
ui->cbFirst->setVisible(false);
m_settings->beginGroup("MainWindow");
restoreGeometry (m_settings->value ("geometry", saveGeometry ()).toByteArray ());
m_geometryNoControls = m_settings->value ("geometryNoControls",saveGeometry()).toByteArray();

View File

@ -6,10 +6,16 @@
<rect>
<x>0</x>
<y>0</y>
<width>815</width>
<width>805</width>
<height>555</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Ignored" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="windowTitle">
<string>WSJT-X by K1JT</string>
</property>
@ -2541,7 +2547,7 @@ QPushButton[state=&quot;ok&quot;] {
<rect>
<x>0</x>
<y>0</y>
<width>815</width>
<width>805</width>
<height>21</height>
</rect>
</property>