Fixed position of folding markers with QGtkStyle

Not a brilliant solution, but it works. Changing the style itself would
cause problems in other places where the PE_IndicatorBranch is drawn.

Reviewed-by: Jens Bache-Wiig
This commit is contained in:
Thorbjørn Lindeijer
2009-05-12 12:57:26 +02:00
parent cbd6259d95
commit 3b1e1231f1
3 changed files with 22 additions and 3 deletions

View File

@@ -134,6 +134,11 @@ ManhattanStyle::~ManhattanStyle()
d = 0;
}
QStyle *ManhattanStyle::systemStyle() const
{
return d->style;
}
// Draws a CSS-like border image where the defined borders are not stretched
void drawCornerImage(const QImage &img, QPainter *painter, QRect rect,
int left = 0, int top = 0, int right = 0,