Use KUrl::pathOrUrl() instead of prettyUrl() when relevant
Review Request #106718 - Created Oct. 4, 2012 and submitted
For local urls, KUrl::prettyUrl() returns a string of the form "file:///foo/bar". The "file://" prefix is useful in some circonstances but should not be shown to users. KUrl::pathOrUrl() will instead return "/foo/bar", which is more user-friendly. This patch replaces prettyUrl() with pathOrUrl() for user-visible strings.
Looks better in: title bar (when showing full path), tab tooltips, document quick switch, save documents dialog and a few other places. Session code is still using prettyUrl() so no disruption there.