Reset url in closeUrl()

Authored by elvisangelaccio on Jul 24 2017, 9:26 PM.

Description

Reset url in closeUrl()

closeUrl() is supposed to close the currently open url, so we should not
leave the old url() around if someone explicitly calls this method.

To avoid urlChanged() being emitted twice if we call openUrl(), we use a
special boolean set in openUrl(). We need this boolean because openUrl()
is both public and virtual and we need to make sure to call the
openUrl() re-implemented by subclasses.

Reviewers: Kate, KDevelop, dfaure

Differential Revision: https://phabricator.kde.org/D6856

Details

Committed
elvisangelaccioAug 2 2017, 8:55 AM
Differential Revision
D6856: Reset url in closeUrl()
Parents
R306:82df915aa9ab: SVN_SILENT made messages (.desktop file) - always resolve ours
Branches
Unknown
Tags
Unknown