[Folder View] Port from deprecated ui() to uiDelegate()
ClosedPublic

Authored by broulik on Mar 29 2017, 11:43 AM.

Details

Summary

The former is deprecated and just returns uiDelegate() inside anyway.

Diff Detail

Repository
R119 Plasma Desktop
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
broulik created this revision.Mar 29 2017, 11:43 AM
Restricted Application added a project: Plasma. · View Herald TranscriptMar 29 2017, 11:43 AM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
hein accepted this revision.Mar 29 2017, 12:13 PM
This revision is now accepted and ready to land.Mar 29 2017, 12:13 PM
hein added a comment.Mar 29 2017, 12:14 PM

Make sure this really doesn't need a nullptr check though.

From KIOCore Job:

// Exists for historical reasons only
KJobUiDelegate *Job::ui() const
{
    return uiDelegate();
}

so it shouldn't make any difference.

This revision was automatically updated to reflect the committed changes.