1 Index: opie-console/TEWidget.cpp
2 ===================================================================
3 RCS file: /cvs/opie/noncore/apps/opie-console/TEWidget.cpp,v
4 retrieving revision 1.13
5 retrieving revision 1.14
6 diff -u -u -r1.13 -r1.14
7 --- opie-console/TEWidget.cpp 21 Jan 2005 19:56:17 -0000 1.13
8 +++ opie-console/TEWidget.cpp 18 Oct 2005 13:56:12 -0000 1.14
11 Config cfg("Konsole");
12 cfg.setGroup("ScrollBar");
13 - switch( cfg.readNumEntry("Position",2)){
15 - scrollLoc = SCRNONE;
18 - scrollLoc = SCRLEFT;
21 - scrollLoc = SCRRIGHT;
24 + scrollLoc = cfg.readNumEntry("Position", -1);
27 + // if user set 'show scrollbar on left' then let it be on left
28 + // but only if it is not set in opie-console itself
31 + Config qpecfg ("qpe");
32 + qpecfg.setGroup("Appearance");
33 + scrollLoc = qpecfg.readNumEntry("LeftHand", SCRRIGHT);
34 + if(scrollLoc == 0) // user set LeftHand in past and switched it off later
36 + scrollLoc = SCRRIGHT;
40 blinkT = new QTimer(this);