<table><tr><td style="">andreylegayev created this revision.<br />andreylegayev added a reviewer: mlaurent.<br />andreylegayev added a project: KDE PIM: Kleopatra.<br />Herald added a project: KDE PIM.<br />Herald added a subscriber: kde-pim.<br />andreylegayev requested review of this revision.
</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/D28591">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>I've found that class member <tt style="background: #ebebeb; font-size: 13px;">sysTray</tt> is not created if QT_NO_SYSTEMTRAYICON defined: see it in <a href="https://phabricator.kde.org/source/kleopatra/browse/master/src/kleopatraapplication.cpp$148" class="remarkup-link" target="_blank" rel="noreferrer">kleopatraapplication.cpp line 148</a><br />
I've added the same pre-processing macros for delete statement to prevent compilation error.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Try to compile with QT_NO_SYSTEMTRAYICON - it should proceed without errors.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R168 Kleopatra</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D28591">https://phabricator.kde.org/D28591</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/kleopatraapplication.cpp</div></div></div><br /><div><strong>To: </strong>andreylegayev, mlaurent<br /><strong>Cc: </strong>kde-pim, fbampaloukas, dcaliste, dvasin, rodsevich, ach, winterz, vkrause, mlaurent, knauss, dvratil<br /></div>