Simplify Apply Profile to View
Summary: Use c++'s casts to remove some unecessary logic.
Reviewers: hindenburg, Konsole
Reviewed By: hindenburg, Konsole
Subscribers: konsole-devel
Tags: Konsole
Differential Revision: https://phabricator.kde.org/D13430