Ignore:
Timestamp:
Nov 6, 2007, 11:27:57 PM (18 years ago)
Author:
dmik
Message:

Styles: Implemented the first version of the Warp4 style (contributed by Cornelis Bockemuehl).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/widgets/qslider.cpp

    r2 r174  
    183183    ticks = NoMarks;
    184184    tickInt = 0;
     185
     186    if ( style().styleHint( QStyle::SH_GUIStyle ) == QStyle::PMStyle )
     187        setFocusPolicy( StrongFocus );
     188    else
    185189    setFocusPolicy( TabFocus  );
    186190    initTicks();
Note: See TracChangeset for help on using the changeset viewer.