-rw-r--r-- | core/apps/embeddedkonsole/konsole.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/core/apps/embeddedkonsole/konsole.cpp b/core/apps/embeddedkonsole/konsole.cpp index eda3135..9c1167b 100644 --- a/core/apps/embeddedkonsole/konsole.cpp +++ b/core/apps/embeddedkonsole/konsole.cpp | |||
@@ -564,55 +564,55 @@ void Konsole::setFont(int fontno) | |||
564 | f = defaultFont = QFont( "Helvetica", 12 ); | 564 | f = defaultFont = QFont( "Helvetica", 12 ); |
565 | else | 565 | else |
566 | if (fonts[fontno][0] == '-') | 566 | if (fonts[fontno][0] == '-') |
567 | f.setRawName( fonts[fontno] ); | 567 | f.setRawName( fonts[fontno] ); |
568 | else | 568 | else |
569 | { | 569 | { |
570 | f.setFamily(fonts[fontno]); | 570 | f.setFamily(fonts[fontno]); |
571 | f.setRawMode( TRUE ); | 571 | f.setRawMode( TRUE ); |
572 | } | 572 | } |
573 | if ( !f.exactMatch() && fontno != 0) | 573 | if ( !f.exactMatch() && fontno != 0) |
574 | { | 574 | { |
575 | QString msg = i18n("Font `%1' not found.\nCheck README.linux.console for help.").arg(fonts[fontno]); | 575 | QString msg = i18n("Font `%1' not found.\nCheck README.linux.console for help.").arg(fonts[fontno]); |
576 | QMessageBox(this, msg); | 576 | QMessageBox(this, msg); |
577 | return; | 577 | return; |
578 | } | 578 | } |
579 | if (se) se->setFontNo(fontno); | 579 | if (se) se->setFontNo(fontno); |
580 | te->setVTFont(f); | 580 | te->setVTFont(f); |
581 | n_font = fontno; | 581 | n_font = fontno; |
582 | } | 582 | } |
583 | */ | 583 | */ |
584 | 584 | ||
585 | // --| color selection |------------------------------------------------------- | 585 | // --| color selection |------------------------------------------------------- |
586 | 586 | ||
587 | void Konsole::changeColumns(int columns) | 587 | void Konsole::changeColumns(int columns) |
588 | { | 588 | { //FIXME this seems to cause silliness when reset command is executed |
589 | qDebug("change columns"); | 589 | // qDebug("change columns"); |
590 | TEWidget* te = getTe(); | 590 | // TEWidget* te = getTe(); |
591 | if (te != 0) { | 591 | // if (te != 0) { |
592 | setColLin(columns,te->Lines()); | 592 | // setColLin(columns,te->Lines()); |
593 | te->update(); | 593 | // te->update(); |
594 | } | 594 | // } |
595 | } | 595 | } |
596 | 596 | ||
597 | //FIXME: If a child dies during session swap, | 597 | //FIXME: If a child dies during session swap, |
598 | // this routine might be called before | 598 | // this routine might be called before |
599 | // session swap is completed. | 599 | // session swap is completed. |
600 | 600 | ||
601 | void Konsole::doneSession(TESession*, int ) | 601 | void Konsole::doneSession(TESession*, int ) |
602 | { | 602 | { |
603 | TEWidget *te = getTe(); | 603 | TEWidget *te = getTe(); |
604 | if (te != 0) { | 604 | if (te != 0) { |
605 | te->currentSession->setConnect(FALSE); | 605 | te->currentSession->setConnect(FALSE); |
606 | tab->removeTab(te); | 606 | tab->removeTab(te); |
607 | delete te->currentSession; | 607 | delete te->currentSession; |
608 | delete te; | 608 | delete te; |
609 | nsessions--; | 609 | nsessions--; |
610 | } | 610 | } |
611 | 611 | ||
612 | if (nsessions == 0) { | 612 | if (nsessions == 0) { |
613 | close(); | 613 | close(); |
614 | } | 614 | } |
615 | } | 615 | } |
616 | 616 | ||
617 | void Konsole::newSession() { | 617 | void Konsole::newSession() { |
618 | if(nsessions < 15) { // seems to be something weird about 16 tabs on the Zaurus.... memory? | 618 | if(nsessions < 15) { // seems to be something weird about 16 tabs on the Zaurus.... memory? |