-rw-r--r-- | core/apps/embeddedkonsole/konsole.cpp | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/core/apps/embeddedkonsole/konsole.cpp b/core/apps/embeddedkonsole/konsole.cpp index f154bb8..653652a 100644 --- a/core/apps/embeddedkonsole/konsole.cpp +++ b/core/apps/embeddedkonsole/konsole.cpp @@ -297,3 +297,3 @@ void Konsole::init(const char* _pgm, QStrList & _args) commonCombo = new QComboBox( secondToolBar ); - + commonCombo->setMaximumWidth(236); configMenu->insertItem( "Edit Command List"); @@ -303,3 +303,3 @@ void Konsole::init(const char* _pgm, QStrList & _args) } - + cfg.setGroup("Commands"); @@ -387,3 +387,3 @@ void Konsole::enterCommand(int c) } else { - changeCommand( commonCombo->text(c), c); + changeCommand( commonCombo->text(c), c); } @@ -579,4 +579,3 @@ void Konsole::colorMenuSelected(int iD) // QString temp; -// temp.sprintf("%d", iD); -// qDebug(temp); +// qDebug( temp.sprintf("%d", iD)); TEWidget* te = getTe(); @@ -687,5 +686,4 @@ void Konsole::configMenuSelected(int iD) { -// QString temp; -// temp.sprintf("%d",iD); -// qDebug(temp); + QString temp; + qDebug( temp.sprintf("%d",iD)); TEWidget* te = getTe(); @@ -753,3 +751,3 @@ void Konsole::changeCommand(const QString &text, int c) commonCombo->clearEdit(); - commonCombo->setCurrentItem(c); + commonCombo->setCurrentItem(c); } @@ -761,4 +759,4 @@ void Konsole::setColor() cfg.setGroup("Colors"); - int scheme = cfg.readNumEntry("Schema",1); - if(scheme != 1) colorMenuSelected( -scheme); + int scheme = cfg.readNumEntry("Schema",1); + if(scheme != 1) colorMenuSelected( -scheme); |