<table><tr><td style="">chcuris created this revision.<br />chcuris added a reviewer: Falkon.<br />chcuris added a project: Falkon.<br />Restricted Application added a subscriber: falkon.<br />chcuris 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/D14711">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Falkon has a feature to automatically close the tab that was specifically<br />
opened for the file to download, because this kind of tab has no useful<br />
purpose to the user.</p>
<p>In the case where the main window would have been closed, Falkon<br />
would crash de-referencing the now NULL pointer to the main window.</p>
<p>This patch adds a simple check to do nothing in this case, as there is no<br />
tab to close anyway.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R875 Falkon</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D14711">https://phabricator.kde.org/D14711</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/lib/downloads/downloadmanager.cpp</div></div></div><br /><div><strong>To: </strong>chcuris, Falkon<br /><strong>Cc: </strong>falkon, Falkon, herrold, anmolgautam, SGOrava, iodelay, spoorun, ptabis, navarromorales, cochise, clivej, ach<br /></div>