Merge remote-tracking branch 'origin/KDE/4.8' into frameworks
Conflicts: kdecore/CMakeLists.txt tier2/kauth/src/backends/dbus/DBusHelperProxy.cpp
This commit is contained in:
commit
21a5833090
@ -682,7 +682,7 @@ void FrameSvgPrivate::generateBackground(FrameData *frame)
|
|||||||
Theme *theme = Theme::defaultTheme();
|
Theme *theme = Theme::defaultTheme();
|
||||||
bool frameCached = !frame->cachedBackground.isNull();
|
bool frameCached = !frame->cachedBackground.isNull();
|
||||||
bool overlayCached = false;
|
bool overlayCached = false;
|
||||||
const bool overlayAvailable = !prefix.startsWith("mask-") && q->hasElement(prefix % "overlay");
|
const bool overlayAvailable = !prefix.startsWith(QLatin1String("mask-")) && q->hasElement(prefix % "overlay");
|
||||||
QPixmap overlay;
|
QPixmap overlay;
|
||||||
if (q->isUsingRenderingCache()) {
|
if (q->isUsingRenderingCache()) {
|
||||||
frameCached = theme->findInCache(id, frame->cachedBackground) && !frame->cachedBackground.isNull();
|
frameCached = theme->findInCache(id, frame->cachedBackground) && !frame->cachedBackground.isNull();
|
||||||
|
2
svg.cpp
2
svg.cpp
@ -552,7 +552,7 @@ void SvgPrivate::checkColorHints()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//Folowing two are utility functions to snap rendered elements to the pixel grid
|
//Following two are utility functions to snap rendered elements to the pixel grid
|
||||||
//to and from are always 0 <= val <= 1
|
//to and from are always 0 <= val <= 1
|
||||||
qreal SvgPrivate::closestDistance(qreal to, qreal from)
|
qreal SvgPrivate::closestDistance(qreal to, qreal from)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user