[calligra] krita/ui/widgets: Don't call paintevent, don't use a reference to a temporary. Should fix compilation with 4.6.

2011-07-02 Thread Cyrille Berger
ristoph Feck CCMAIL: calligra-devel@kde.org M +1-1krita/ui/widgets/kis_light_source.cpp http://commits.kde.org/calligra/3a4f127d1b6dc2eb0f75b0f3b8cbb592c7d8d6b3 diff --git a/krita/ui/widgets/kis_light_source.cpp b/krita/ui/widgets/kis_light_source.cpp index 8ed804e..c87e2a2 1

Re: krita/ui/widgets

2011-07-01 Thread Christoph Feck
Hi José, since a recent commit, calligra fails to compile (with gcc 4.6). The error is: /local/git/extragear/office/calligra/krita/ui/widgets/kis_light_source.cpp:149:45: error: taking address of temporary [-fpermissive] Looking at the issue, I noticed certain things: 1. Upon creation