summaryrefslogtreecommitdiffstats
path: root/src/gui/styles
diff options
context:
space:
mode:
authorTrond Kjernåsen <trond@trolltech.com>2009-10-02 11:56:53 (GMT)
committerTrond Kjernåsen <trond@trolltech.com>2009-10-02 11:57:56 (GMT)
commitfb85af439715ff5ec141473b5c1d8f9744aca19d (patch)
tree233a749b6056491c4d45102a4574413c26929ce2 /src/gui/styles
parent6b2f1f919d135929d508e5cfd2d64c390420ad50 (diff)
downloadQt-fb85af439715ff5ec141473b5c1d8f9744aca19d.zip
Qt-fb85af439715ff5ec141473b5c1d8f9744aca19d.tar.gz
Qt-fb85af439715ff5ec141473b5c1d8f9744aca19d.tar.bz2
Renamed the values in the Qt::TileRule enum.
Stretch, Repeat and Round are too generic. Renamed to StretchTile, RepeatTile and RoundTile. Reviewed-by: Gunnar
Diffstat (limited to 'src/gui/styles')
-rw-r--r--src/gui/styles/qstylesheetstyle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/styles/qstylesheetstyle.cpp b/src/gui/styles/qstylesheetstyle.cpp
index 0f3a88b..707b05e 100644
--- a/src/gui/styles/qstylesheetstyle.cpp
+++ b/src/gui/styles/qstylesheetstyle.cpp
@@ -1126,7 +1126,7 @@ void QRenderRule::fixupBorder(int nativeWidth)
void QRenderRule::drawBorderImage(QPainter *p, const QRect& rect)
{
static const Qt::TileRule tileMode2TileRule[] = {
- Qt::Stretch, Qt::Round, Qt::Stretch, Qt::Repeat, Qt::Stretch };
+ Qt::StretchTile, Qt::RoundTile, Qt::StretchTile, Qt::RepeatTile, Qt::StretchTile };
const QStyleSheetBorderImageData *borderImageData = border()->borderImage();
const int *targetBorders = border()->borders;