summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/apps/embeddedkonsole/konsole.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/apps/embeddedkonsole/konsole.cpp b/core/apps/embeddedkonsole/konsole.cpp
index bd33ba6..217d8d8 100644
--- a/core/apps/embeddedkonsole/konsole.cpp
+++ b/core/apps/embeddedkonsole/konsole.cpp
@@ -725,25 +725,25 @@ void Konsole::colorMenuSelected(int iD)
725 update(); 725 update();
726} 726}
727 727
728void Konsole::configMenuSelected(int iD) 728void Konsole::configMenuSelected(int iD)
729{ 729{
730// QString temp; 730// QString temp;
731// qDebug( temp.sprintf("configmenu %d",iD)); 731// qDebug( temp.sprintf("configmenu %d",iD));
732 TEWidget* te = getTe(); 732 TEWidget* te = getTe();
733 Config cfg("Konsole"); 733 Config cfg("Konsole");
734 cfg.setGroup("Menubar"); 734 cfg.setGroup("Menubar");
735 if( iD == -4) { 735 if( iD == -4) {
736 cfg.setGroup("Tabs"); 736 cfg.setGroup("Tabs");
737 QString tmp=cfg.readEntry("Position","Top"); 737 QString tmp=cfg.readEntry("Position","Bottom");
738 738
739 if(tmp=="Top") { 739 if(tmp=="Top") {
740 tab->setTabPosition(QTabWidget::Bottom); 740 tab->setTabPosition(QTabWidget::Bottom);
741 configMenu->changeItem( iD,"Tabs on Top"); 741 configMenu->changeItem( iD,"Tabs on Top");
742 cfg.writeEntry("Position","Bottom"); 742 cfg.writeEntry("Position","Bottom");
743 } else { 743 } else {
744 tab->setTabPosition(QTabWidget::Top); 744 tab->setTabPosition(QTabWidget::Top);
745 configMenu->changeItem( iD,"Tabs on Bottom"); 745 configMenu->changeItem( iD,"Tabs on Bottom");
746 cfg.writeEntry("Position","Top"); 746 cfg.writeEntry("Position","Top");
747 } 747 }
748 } 748 }
749} 749}