Fixes plasma-desktop compilation with boost 1.57

Review Request #123142 - Created March 26, 2015 and discarded

Information
Tomaz Canabrava
plasma-desktop
Reviewers
plasma

Plasma-desktop uses Boost::optional on a few places, but it stored the value as boolean ( bool thisValid = currentValue; for instance ), the issue is that boost::optional conversion to bool must be explicit, thus a static_cast is needed.

compiles.

Tomaz  Canabrava
Alex Richardson
David Edmundson
Tomaz  Canabrava
Review request changed

Status: Discarded

Loading...