what about constifying constifyable
svn path=/trunk/KDE/kdelibs/; revision=923307
This commit is contained in:
parent
4dd753fe19
commit
2cc63a17e7
@ -428,10 +428,8 @@ void FrameSvgPrivate::generateBackground(FrameData *frame)
|
|||||||
//CENTER
|
//CENTER
|
||||||
if (frame->tileCenter) {
|
if (frame->tileCenter) {
|
||||||
if (contentHeight > 0 && contentWidth > 0) {
|
if (contentHeight > 0 && contentWidth > 0) {
|
||||||
int centerTileHeight;
|
const int centerTileHeight = q->elementSize(prefix + "center").height();
|
||||||
int centerTileWidth;
|
const int centerTileWidth = q->elementSize(prefix + "center").width();
|
||||||
centerTileHeight = q->elementSize(prefix + "center").height();
|
|
||||||
centerTileWidth = q->elementSize(prefix + "center").width();
|
|
||||||
QPixmap center(centerTileWidth, centerTileHeight);
|
QPixmap center(centerTileWidth, centerTileHeight);
|
||||||
center.fill(Qt::transparent);
|
center.fill(Qt::transparent);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user