<table><tr><td style="">andreylegayev updated this revision to Diff 80563.<br />andreylegayev added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D28580">View Revision</a></tr></table><br /><div><div><p>Updates: <br />
I've got KDE developer access.<br />
Before committing anything I wanted to test it again and found that last version doesn't restore size on startup :-/<br />
It's fixed now and it's ready to be committed:</p>

<ul class="remarkup-list">
<li class="remarkup-list-item">I've tested it on Kde Neon and Windows 10</li>
<li class="remarkup-list-item">Unit tests passed</li>
</ul>

<p>Changes:</p>

<ul class="remarkup-list">
<li class="remarkup-list-item">removed <tt style="background: #ebebeb; font-size: 13px;">resize(1024, 500)</tt> and <tt style="background: #ebebeb; font-size: 13px;">setAutoSaveSettings()</tt> in MainWindow constructor</li>
<li class="remarkup-list-item">add <tt style="background: #ebebeb; font-size: 13px;">q->resize(QSize(1024, 500))</tt> in MainWindow::Private::Private</li>
</ul>

<p>I've found that <tt style="background: #ebebeb; font-size: 13px;">setAutoSaveSettings()</tt> is already added MainWindow::Private::Private()<br />
There is no need to add it in MainWindow constructor.</p>

<p><a href="https://phabricator.kde.org/p/dfaure/" style="
              border-color: #f1f7ff;
              color: #19558d;
              background-color: #f1f7ff;
                border: 1px solid transparent;
                border-radius: 3px;
                font-weight: bold;
                padding: 0 4px;">@dfaure</a> could you take a look at it last time?<br />
Should I push this commit directly to master?</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R168 Kleopatra</div></div></div><br /><div><strong>CHANGES SINCE LAST UPDATE</strong><div><a href="https://phabricator.kde.org/D28580?vs=79830&id=80563">https://phabricator.kde.org/D28580?vs=79830&id=80563</a></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D28580">https://phabricator.kde.org/D28580</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/crypto/gui/decryptverifyfilesdialog.cpp<br />
src/crypto/gui/signencryptfileswizard.cpp<br />
src/crypto/gui/signencryptfileswizard.h<br />
src/kleopatraapplication.cpp<br />
src/mainwindow.cpp</div></div></div><br /><div><strong>To: </strong>andreylegayev, dfaure<br /><strong>Cc: </strong>dfaure, mlaurent, kde-pim, andreylegayev, fbampaloukas, dcaliste, dvasin, rodsevich, ach, winterz, vkrause, knauss, dvratil<br /></div>