<table><tr><td style="">broulik updated this revision to Diff 57988.<br />broulik edited the summary of this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-cuqohewoy3bsuct/">(Show Details)</a>
</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/D21164">View Revision</a></tr></table><br /><div><strong>CHANGES TO REVISION SUMMARY</strong><div><div style="white-space: pre-wrap; color: #74777D;">I just found that `QUrl::fromLocalFile()` actually calls `QFileInfo::exists` on the URL which is not something you want to be doing constantly and especially not for remote locations.<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);"><br />
The code is really just trying to figure out a URL from the source or destination labels of the job which are usually either a full URL or just a local path. If it's not, then it's probably not very interesting to us anyway.</span></div></div></div><br /><div><strong>REPOSITORY</strong><div><div>R120 Plasma Workspace</div></div></div><br /><div><strong>CHANGES SINCE LAST UPDATE</strong><div><a href="https://phabricator.kde.org/D21164?vs=57941&id=57988">https://phabricator.kde.org/D21164?vs=57941&id=57988</a></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D21164">https://phabricator.kde.org/D21164</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>libnotificationmanager/job_p.cpp</div></div></div><br /><div><strong>To: </strong>broulik, Plasma<br /><strong>Cc: </strong>apol, plasma-devel, jraleigh, GB_2, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, mart<br /></div>