Fixes Dolphin crash on "Defocus Terminal Panel" menu click if no Konsole is installed.
Summary:
Dolphin crashes if no Konsole is installed and user clicks menu action "Defocus Terminal Panel".
This fix is pretty straight forward.
Steps to reproduce:
- Run Dolphin without Konsole available.
- Press F4 to open console window.
- Click in service menu "Focus Terminal Panel".
- Click in service menu "Defocus Terminal Panel". Observe the crash.
Test Plan:
- Run Dolphin without Konsole available.
- Press F4 to open console window.
- Click in service menu "Focus Teminal Panel".
- Click in service menu "Defocus Terminal Panel".
- Click in service menu "Focus Terminal Panel".
- Press F4 to close console window.
Reviewers: Dolphin, meven, elvisangelaccio, ngraham
Reviewed By: Dolphin, meven, elvisangelaccio, ngraham
Subscribers: kfm-devel
Tags: Dolphin
Differential Revision: https://phabricator.kde.org/D29345