Fix the Plasma::Applet::Actions crash

Authored by davidedmundson on Feb 1 2016, 11:06 PM.

Description

Fix the Plasma::Applet::Actions crash

We were mixing KScreen and QScreen API.

Corona.cpp checks we are requesting a containment for a valid screen
if (screen >= 0 && screen < numScreens()) {

This fails as numScreens() is Qt API based, whereas the signal we're
adding the output for is ShellCorona::addOutput

BUG: 351777
REVIEW: 126961

Details

Committed
davidedmundsonFeb 3 2016, 5:32 PM
Parents
R120:13ad256cc40a: reset the model on list always shown/hide change
Branches
Unknown
Tags
Unknown