summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/apps/embeddedkonsole/konsole.cpp41
1 files changed, 2 insertions, 39 deletions
diff --git a/core/apps/embeddedkonsole/konsole.cpp b/core/apps/embeddedkonsole/konsole.cpp
index bc5a766..bd33ba6 100644
--- a/core/apps/embeddedkonsole/konsole.cpp
+++ b/core/apps/embeddedkonsole/konsole.cpp
@@ -729,4 +729,4 @@ void Konsole::configMenuSelected(int iD)
{
- QString temp;
- qDebug( temp.sprintf("configmenu %d",iD));
+// QString temp;
+// qDebug( temp.sprintf("configmenu %d",iD));
TEWidget* te = getTe();
@@ -734,23 +734,2 @@ void Konsole::configMenuSelected(int iD)
cfg.setGroup("Menubar");
-// if( iD == -2) {
-// if(!secondToolBar->isHidden()) {
-// secondToolBar->hide();
-// configMenu->changeItem( iD,"Show Command List");
-// cfg.writeEntry("Hidden","TRUE");
-// configMenu->setItemEnabled(-20 ,FALSE);
-// } else {
-// secondToolBar->show();
-// configMenu->changeItem( iD,"Hide Command List");
-// cfg.writeEntry("Hidden","FALSE");
-// configMenu->setItemEnabled(-20 ,TRUE);
-
-// if(cfg.readEntry("EditEnabled","FALSE")=="TRUE") {
-// configMenu->setItemChecked(-20,TRUE);
-// commonCombo->setEditable( TRUE );
-// } else {
-// configMenu->setItemChecked(-20,FALSE);
-// commonCombo->setEditable( FALSE );
-// }
-// }
-// }
if( iD == -4) {
@@ -769,18 +748,2 @@ void Konsole::configMenuSelected(int iD)
}
-// if( iD == -20) {
-// cfg.setGroup("Commands");
-// // qDebug("enableCommandEdit");
-// if( !configMenu->isItemChecked(iD) ) {
-// commonCombo->setEditable( TRUE );
-// configMenu->setItemChecked(iD,TRUE);
-// commonCombo->setCurrentItem(0);
-// cfg.writeEntry("EditEnabled","TRUE");
-// } else {
-// commonCombo->setEditable( FALSE );
-// configMenu->setItemChecked(iD,FALSE);
-// cfg.writeEntry("EditEnabled","FALSE");
-// commonCombo->setFocusPolicy(QWidget::NoFocus);
-// te->setFocus();
-// }
-// }
}