author | zecke <zecke> | 2004-06-13 19:32:42 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-06-13 19:32:42 (UTC) |
commit | 6092529865660fee46ffab29177ca281f6252b2a (patch) (unidiff) | |
tree | 45373de9c58a31e3951f745c90aa223f260d47cd /library | |
parent | f74ad6f0e20cb803321cec629cd8d37abc966571 (diff) | |
download | opie-6092529865660fee46ffab29177ca281f6252b2a.zip opie-6092529865660fee46ffab29177ca281f6252b2a.tar.gz opie-6092529865660fee46ffab29177ca281f6252b2a.tar.bz2 |
Set the ScrollBar position right on start.
This works on Qt2.3.8 and Qt2.3.7
-rw-r--r-- | library/qpeapplication.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/library/qpeapplication.cpp b/library/qpeapplication.cpp index 040b2fe..26e310a 100644 --- a/library/qpeapplication.cpp +++ b/library/qpeapplication.cpp | |||
@@ -1319,2 +1319,4 @@ void QPEApplication::reset() { | |||
1319 | 1319 | ||
1320 | |||
1321 | extern bool qt_left_hand_scrollbars __attribute__(( weak )); | ||
1320 | /*! | 1322 | /*! |
@@ -1375,2 +1377,7 @@ void QPEApplication::applyStyle() | |||
1375 | 1377 | ||
1378 | |||
1379 | // Set the ScrollBar on the 'right' side but only if the weak symbol is present | ||
1380 | if (&qt_left_hand_scrollbars ) | ||
1381 | qt_left_hand_scrollbars = config.readBoolEntry( "LeftHand", false ); | ||
1382 | |||
1376 | // Window Decoration | 1383 | // Window Decoration |
@@ -1382,3 +1389,2 @@ void QPEApplication::applyStyle() | |||
1382 | 1389 | ||
1383 | //qDebug ( "Setting Deco: %s -- old %s (%d)", dec.latin1(), d-> decorationName.latin1(), nostyle); | ||
1384 | 1390 | ||