Fix missing notification title found by -Wswitch-enum

Authored by rkflx on Aug 12 2018, 6:30 AM.

Description

Fix missing notification title found by -Wswitch-enum

Summary:
When capturing a screenshot in background mode or when
Quit after Save or Copy is checked, Spectacle shows a notfication.

Normally that notification has the capture mode set as the title, but
for Window Under Cursor it was missing (in case
Capture the current pop-up only was unchecked too).

This was due to one missing case in a switch statement, found by using
stricter compiler warnings.

FIXED-IN: 18.08.1

Test Plan: spectacle -ub should include a title in the notification again.

Reviewers: Spectacle, ngraham

Reviewed By: Spectacle, ngraham

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

Details

Committed
rkflxAug 12 2018, 6:32 AM
Reviewer
Spectacle
Differential Revision
D14716: Fix missing notification title found by -Wswitch-enum
Parents
R166:03a56438d515: GIT_SILENT Upgrade KDE Applications version to 18.08.0.
Branches
Unknown
Tags
Unknown