All pastes #25839 Raw Edit

Untitled

public text v1 · immutable
#25839 ·published 2005-10-18 13:26 UTC
rendered paste body
Index: TEWidget.cpp
===================================================================
RCS file: /cvs/opie/noncore/apps/opie-console/TEWidget.cpp,v
retrieving revision 1.13
diff -u -u -r1.13 TEWidget.cpp
--- TEWidget.cpp        21 Jan 2005 19:56:17 -0000      1.13
+++ TEWidget.cpp        18 Oct 2005 13:31:21 -0000
@@ -321,6 +321,15 @@
   Config cfg("Konsole");
   cfg.setGroup("ScrollBar");
   switch( cfg.readNumEntry("Position",2)){
+  default:
+      Config qpecfg ("qpe");
+      qpecfg.setGroup("Appearance");
+      scrollLoc = cfg.readNumEntry("LeftHand", 2);
+      if(scrollLoc == 0)    // user set LeftHand in past and switched it off later
+      {
+         scrollLoc = 2;
+      }
+      break;
   case 0:
       scrollLoc = SCRNONE;
       break;