Removed useless include.
Fixed ambiguity when passing tiles as argument. svn path=/trunk/KDE/kdebase/workspace/; revision=1125272
This commit is contained in:
parent
71460bc371
commit
3fa2e1b234
1 changed files with 1 additions and 2 deletions
|
@ -30,7 +30,6 @@
|
|||
|
||||
#include "oxygenbutton.h"
|
||||
#include "oxygensizegrip.h"
|
||||
#include "tileset.h"
|
||||
|
||||
#include <cassert>
|
||||
#include <cmath>
|
||||
|
@ -804,7 +803,7 @@ namespace Oxygen
|
|||
int offset = -3;
|
||||
int voffset = 5-shadowSize;
|
||||
QRect adjustedRect( rect.adjusted(offset, voffset, -offset, shadowSize) );
|
||||
helper().slab( palette.color( widget()->backgroundRole() ), 0, shadowSize )->render( adjustedRect, painter, TileSet::Top|TileSet::Left|TileSet::Right );
|
||||
helper().slab( palette.color( widget()->backgroundRole() ), 0, shadowSize )->render( adjustedRect, painter, TileSet::Tiles(TileSet::Top|TileSet::Left|TileSet::Right) );
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue