author | llornkcor <llornkcor> | 2002-04-28 22:47:19 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-04-28 22:47:19 (UTC) |
commit | 28d8806d21ec8fbc806d80614fd496f6b5ca6b55 (patch) (side-by-side diff) | |
tree | 6cfe74bb3ad852662a7e0854d5d589df25fd56ee /core | |
parent | 726d985ddb6a5c7eb25a48efdadb189eb38b9a2a (diff) | |
download | opie-28d8806d21ec8fbc806d80614fd496f6b5ca6b55.zip opie-28d8806d21ec8fbc806d80614fd496f6b5ca6b55.tar.gz opie-28d8806d21ec8fbc806d80614fd496f6b5ca6b55.tar.bz2 |
whoops
-rw-r--r-- | core/apps/embeddedkonsole/konsole.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/core/apps/embeddedkonsole/konsole.cpp b/core/apps/embeddedkonsole/konsole.cpp index adcfb7f..f13d0c9 100644 --- a/core/apps/embeddedkonsole/konsole.cpp +++ b/core/apps/embeddedkonsole/konsole.cpp @@ -147,50 +147,49 @@ static const char *commonCmds[] = "fuser", "hostname", "kill", "killall", "ln", "ping", "mount", "more", "sort", "touch", "umount", "mknod", "netstat", */ "exit", NULL }; Konsole::Konsole(QWidget* parent, const char* name, WFlags fl) : QMainWindow(parent, name, fl) { QStrList args; - init("/bin/ash",args); -// init("/bin/sh",args); + init("/bin/sh",args); } Konsole::Konsole(const char* name, const char* _pgm, QStrList & _args, int) : QMainWindow(0, name) { init(_pgm,_args); } void Konsole::initCommandList() { // qDebug("Konsole::initCommandList"); Config cfg("Konsole"); cfg.setGroup("Commands"); commonCombo->setInsertionPolicy(QComboBox::AtCurrent); commonCombo->clear(); if (cfg.readEntry("Commands Set","FALSE") == "FALSE") { for (int i = 0; commonCmds[i] != NULL; i++) { commonCombo->insertItem(commonCmds[i],i); } } else { for (int i = 0; i < 100; i++) { if (!(cfg.readEntry( QString::number(i),"")).isEmpty()) commonCombo->insertItem((cfg.readEntry( QString::number(i),""))); } |