Changeset 138946 in webkit


Ignore:
Timestamp:
Jan 7, 2013 7:51:38 AM (11 years ago)
Author:
michael.bruning@digia.com
Message:

[Qt] Apply correct patch for the scrolling issue from bug 105014
https://bugs.webkit.org/show_bug.cgi?id=106219

Correct the if condition when overwriting the layout direction option
with the values from the facade options to only overwrite if the facade
direction is not equal to LayoutDirectionAuto.

Reviewed by Allan Sandfeld Jensen.

  • WidgetSupport/QStyleFacadeImp.cpp:

(WebKit::initGenericStyleOption):

Location:
trunk/Source/WebKit/qt
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/qt/ChangeLog

    r138933 r138946  
     12013-01-07  Michael Brüning  <michael.bruning@digia.com>
     2
     3        [Qt] Apply correct patch for the scrolling issue from bug 105014
     4        https://bugs.webkit.org/show_bug.cgi?id=106219
     5
     6        Correct the if condition when overwriting the layout direction option
     7        with the values from the facade options to only overwrite if the facade
     8        direction is not equal to LayoutDirectionAuto.
     9
     10        Reviewed by Allan Sandfeld Jensen.
     11
     12        * WidgetSupport/QStyleFacadeImp.cpp:
     13        (WebKit::initGenericStyleOption):
     14
    1152013-01-07  Michael Brüning  <michael.bruning@digia.com>
    216
  • trunk/Source/WebKit/qt/WidgetSupport/QStyleFacadeImp.cpp

    r138933 r138946  
    7878    option->rect = facadeOption.rect;
    7979    option->state = convertToQStyleState(facadeOption.state);
    80     if (option->direction == Qt::LayoutDirectionAuto)
     80    if (facadeOption.direction != Qt::LayoutDirectionAuto)
    8181        option->direction = facadeOption.direction;
    8282    option->palette = facadeOption.palette;
Note: See TracChangeset for help on using the changeset viewer.