summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/apps/embeddedkonsole/konsole.cpp14
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
@@ -250,10 +250,10 @@ void Konsole::init(const char* _pgm, QStrList & _args)
250 configMenu = new QPopupMenu( this); 250 configMenu = new QPopupMenu( this);
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");
259 if( cfg.readEntry("Hidden","FALSE") == "TRUE") { 259 if( cfg.readEntry("Hidden","FALSE") == "TRUE") {
@@ -339,7 +339,7 @@ void Konsole::init(const char* _pgm, QStrList & _args)
339 339
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++) {
345// commonCombo->insertItem( commonCmds[i], i ); 345// commonCombo->insertItem( commonCmds[i], i );
@@ -354,7 +354,7 @@ void Konsole::init(const char* _pgm, QStrList & _args)
354 scrollMenu->insertItem(tr( "Left" )); 354 scrollMenu->insertItem(tr( "Left" ));
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);
360 360
@@ -777,7 +777,7 @@ void Konsole::scrollMenuSelected(int index)
777// qDebug( temp.sprintf("scrollbar menu %d",index)); 777// qDebug( temp.sprintf("scrollbar menu %d",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:
783 te->setScrollbarLocation(0); 783 te->setScrollbarLocation(0);
@@ -792,7 +792,7 @@ void Konsole::scrollMenuSelected(int index)
792 cfg.writeEntry("Position",2); 792 cfg.writeEntry("Position",2);
793 break; 793 break;
794 }; 794 };
795 795
796} 796}
797 797
798void Konsole::editCommandListMenuSelected(int iD) 798void Konsole::editCommandListMenuSelected(int iD)