author | harlekin <harlekin> | 2002-06-11 15:09:39 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-06-11 15:09:39 (UTC) |
commit | ee1b955759e12b91a2caf7dfb219a372dadfe65b (patch) (unidiff) | |
tree | 877b6b5e585f92052ac7f376703d4b1c3cc4489c | |
parent | b4c905a143583bb3922d948961d6ce277fda6df4 (diff) | |
download | opie-ee1b955759e12b91a2caf7dfb219a372dadfe65b.zip opie-ee1b955759e12b91a2caf7dfb219a372dadfe65b.tar.gz opie-ee1b955759e12b91a2caf7dfb219a372dadfe65b.tar.bz2 |
now console remembers scrollbar setting on restart
-rw-r--r-- | core/apps/embeddedkonsole/konsole.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/core/apps/embeddedkonsole/konsole.cpp b/core/apps/embeddedkonsole/konsole.cpp index 3f6e0b4..b0d28fc 100644 --- a/core/apps/embeddedkonsole/konsole.cpp +++ b/core/apps/embeddedkonsole/konsole.cpp | |||
@@ -251,8 +251,8 @@ void Konsole::init(const char* _pgm, QStrList & _args) | |||
251 | colorMenu = new QPopupMenu( this); | 251 | colorMenu = new QPopupMenu( this); |
252 | scrollMenu = new QPopupMenu( this); | 252 | scrollMenu = new QPopupMenu( this); |
253 | editCommandListMenu = new QPopupMenu( this); | 253 | editCommandListMenu = new QPopupMenu( this); |
254 | 254 | ||
255 | configMenu->insertItem("Command List",editCommandListMenu); | 255 | configMenu->insertItem("Command List",editCommandListMenu); |
256 | 256 | ||
257 | bool listHidden; | 257 | bool listHidden; |
258 | cfg.setGroup("Menubar"); | 258 | cfg.setGroup("Menubar"); |
@@ -340,5 +340,5 @@ void Konsole::init(const char* _pgm, QStrList & _args) | |||
340 | cfg.setGroup("Commands"); | 340 | cfg.setGroup("Commands"); |
341 | commonCombo->setInsertionPolicy(QComboBox::AtCurrent); | 341 | commonCombo->setInsertionPolicy(QComboBox::AtCurrent); |
342 | 342 | ||
343 | initCommandList(); | 343 | initCommandList(); |
344 | // for (int i = 0; commonCmds[i] != NULL; i++) { | 344 | // for (int i = 0; commonCmds[i] != NULL; i++) { |
@@ -355,5 +355,5 @@ void Konsole::init(const char* _pgm, QStrList & _args) | |||
355 | scrollMenu->insertItem(tr( "Right" )); | 355 | scrollMenu->insertItem(tr( "Right" )); |
356 | configMenu->insertItem(tr( "ScrollBar" ),scrollMenu); | 356 | configMenu->insertItem(tr( "ScrollBar" ),scrollMenu); |
357 | 357 | ||
358 | // create applications ///////////////////////////////////////////////////// | 358 | // create applications ///////////////////////////////////////////////////// |
359 | setCentralWidget(tab); | 359 | setCentralWidget(tab); |
@@ -778,5 +778,5 @@ void Konsole::scrollMenuSelected(int index) | |||
778 | TEWidget* te = getTe(); | 778 | TEWidget* te = getTe(); |
779 | Config cfg("Konsole"); | 779 | Config cfg("Konsole"); |
780 | cfg.setGroup("Scrollbar"); | 780 | cfg.setGroup("ScrollBar"); |
781 | switch( index){ | 781 | switch( index){ |
782 | case -24: | 782 | case -24: |
@@ -793,5 +793,5 @@ void Konsole::scrollMenuSelected(int index) | |||
793 | break; | 793 | break; |
794 | }; | 794 | }; |
795 | 795 | ||
796 | } | 796 | } |
797 | 797 | ||