summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2002-11-10 02:09:45 (UTC)
committer llornkcor <llornkcor>2002-11-10 02:09:45 (UTC)
commit7601c75b529d9ff205403a32206b9431845cfc91 (patch) (unidiff)
tree83aa6347ad7e0cf0175f88f86666c5df705526b1
parentea13a08c3f27b007b24743d8de066fbe52961534 (diff)
downloadopie-7601c75b529d9ff205403a32206b9431845cfc91.zip
opie-7601c75b529d9ff205403a32206b9431845cfc91.tar.gz
opie-7601c75b529d9ff205403a32206b9431845cfc91.tar.bz2
fixes for sharp rom version
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--core/apps/embeddedkonsole/konsole.cpp22
1 files changed, 14 insertions, 8 deletions
diff --git a/core/apps/embeddedkonsole/konsole.cpp b/core/apps/embeddedkonsole/konsole.cpp
index 4480fe2..8885b58 100644
--- a/core/apps/embeddedkonsole/konsole.cpp
+++ b/core/apps/embeddedkonsole/konsole.cpp
@@ -872,15 +872,22 @@ void Konsole::scrollMenuSelected(int index)
872 cfg.setGroup("ScrollBar"); 872 cfg.setGroup("ScrollBar");
873 switch( index){ 873 int i,j,k;
874 case -25: 874#ifdef QT_QWS_OPIE
875i=-25;j=-26;k=-27;
876#else
877i=-24;j=-25;k=-26;
878#endif
879 if(index == i) {
880
875 te->setScrollbarLocation(0); 881 te->setScrollbarLocation(0);
876 cfg.writeEntry("Position",0); 882 cfg.writeEntry("Position",0);
877 break; 883 } else if(index == j) {
878 case -26: 884
879 te->setScrollbarLocation(1); 885 te->setScrollbarLocation(1);
880 cfg.writeEntry("Position",1); 886 cfg.writeEntry("Position",1);
881 break; 887 } else if(index == k) {
882 case -27: 888
883 te->setScrollbarLocation(2); 889 te->setScrollbarLocation(2);
884 cfg.writeEntry("Position",2); 890 cfg.writeEntry("Position",2);
885 break; 891 }
892
886// case -29: { 893// case -29: {
@@ -899,3 +906,2 @@ void Konsole::scrollMenuSelected(int index)
899// break; 906// break;
900 };
901} 907}