diff options
author | Gabriel de Dietrich <gabriel.dietrich-de@nokia.com> | 2010-03-24 09:26:53 (GMT) |
---|---|---|
committer | Gabriel de Dietrich <gabriel.dietrich-de@nokia.com> | 2010-03-24 09:27:44 (GMT) |
commit | fad919fa0fe976facc94685fd1460b4961b72c4e (patch) | |
tree | 45e9e7fe669073369203eda8b6851ac2a12146b2 /src/gui/styles/qgtkstyle.cpp | |
parent | 91c85d3ec760e443e103c0df6732f5862b53c4de (diff) | |
download | Qt-fad919fa0fe976facc94685fd1460b4961b72c4e.zip Qt-fad919fa0fe976facc94685fd1460b4961b72c4e.tar.gz Qt-fad919fa0fe976facc94685fd1460b4961b72c4e.tar.bz2 |
Revert "Sort indicators displayed incorrectly in GTK style"
This reverts commit 74ce3dea8b3ea06d61cef4e729f6a95f670461fe.
The sorting order is intentional.
Diffstat (limited to 'src/gui/styles/qgtkstyle.cpp')
-rw-r--r-- | src/gui/styles/qgtkstyle.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/styles/qgtkstyle.cpp b/src/gui/styles/qgtkstyle.cpp index 0d8a589..e2de43a 100644 --- a/src/gui/styles/qgtkstyle.cpp +++ b/src/gui/styles/qgtkstyle.cpp @@ -769,9 +769,9 @@ void QGtkStyle::drawPrimitive(PrimitiveElement element, GtkArrowType type = GTK_ARROW_UP; QRect r = header->rect; QImage arrow; - if (header->sortIndicator & QStyleOptionHeader::SortDown) + if (header->sortIndicator & QStyleOptionHeader::SortUp) type = GTK_ARROW_UP; - else if (header->sortIndicator & QStyleOptionHeader::SortUp) + else if (header->sortIndicator & QStyleOptionHeader::SortDown) type = GTK_ARROW_DOWN; gtkPainter.paintArrow(gtkTreeHeader, "button", option->rect.adjusted(1, 1, -1, -1), type, state, |