<table><tr><td style="">kfunk 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/D6529" rel="noreferrer">View Revision</a></tr></table><br /><div><div><p>Backported to 5.1 -- this patch is trivial enough.</p>

<p>I also fixed up your last commit. Doing <tt style="background: #ebebeb; font-size: 13px;">setWindowFilePath({})</tt> in the else-branch could still leave you with an outdated windowFilePath set. I.e. in case there's an active view but no <tt style="background: #ebebeb; font-size: 13px;">UrlDocument*</tt>.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R33 KDevPlatform</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D6529" rel="noreferrer">https://phabricator.kde.org/D6529</a></div></div><br /><div><strong>To: </strong>rjvbb, KDevelop, kfunk<br /><strong>Cc: </strong>kfunk, kdevelop-devel, kde-mac, geetamc, Pilzschaf, akshaydeo, surgenight, arrowdodger<br /></div>