author | hash <hash> | 2002-10-18 17:50:05 (UTC) |
---|---|---|
committer | hash <hash> | 2002-10-18 17:50:05 (UTC) |
commit | 351d2f95d3f5beba26e5879659ddafb84b0f98f4 (patch) (unidiff) | |
tree | f48d66f766ca02950d6295ea00d912d40081c43d | |
parent | addfc9900cbf3da2cdbfa54ea849bc7f7fb1b296 (diff) | |
download | opie-351d2f95d3f5beba26e5879659ddafb84b0f98f4.zip opie-351d2f95d3f5beba26e5879659ddafb84b0f98f4.tar.gz opie-351d2f95d3f5beba26e5879659ddafb84b0f98f4.tar.bz2 |
always autoconnect bug fixed
-rw-r--r-- | noncore/apps/opie-console/mainwindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/apps/opie-console/mainwindow.cpp b/noncore/apps/opie-console/mainwindow.cpp index 27407d9..cf1fbc3 100644 --- a/noncore/apps/opie-console/mainwindow.cpp +++ b/noncore/apps/opie-console/mainwindow.cpp | |||
@@ -427,17 +427,17 @@ void MainWindow::create( const Profile& prof ) { | |||
427 | m_recordScript->setEnabled( true ); | 427 | m_recordScript->setEnabled( true ); |
428 | m_saveScript->setEnabled( true ); | 428 | m_saveScript->setEnabled( true ); |
429 | m_runScript->setEnabled( true ); | 429 | m_runScript->setEnabled( true ); |
430 | m_fullscreen->setEnabled( true ); | 430 | m_fullscreen->setEnabled( true ); |
431 | m_closewindow->setEnabled( true ); | 431 | m_closewindow->setEnabled( true ); |
432 | 432 | ||
433 | 433 | ||
434 | // is io_layer wants direct connection, then autoconnect | 434 | // is io_layer wants direct connection, then autoconnect |
435 | if ( ( m_curSession->layer() )->supports()[0] = 1 ) { | 435 | if ( ( m_curSession->layer() )->supports()[0] == 1 ) { |
436 | slotConnect(); | 436 | slotConnect(); |
437 | } | 437 | } |
438 | } | 438 | } |
439 | 439 | ||
440 | void MainWindow::slotTransfer() | 440 | void MainWindow::slotTransfer() |
441 | { | 441 | { |
442 | if ( currentSession() ) { | 442 | if ( currentSession() ) { |
443 | TransferDialog dlg(currentSession()->widgetStack(), this); | 443 | TransferDialog dlg(currentSession()->widgetStack(), this); |
@@ -510,17 +510,17 @@ void MainWindow::slotFullscreen() { | |||
510 | } | 510 | } |
511 | 511 | ||
512 | m_isFullscreen = !m_isFullscreen; | 512 | m_isFullscreen = !m_isFullscreen; |
513 | } | 513 | } |
514 | 514 | ||
515 | 515 | ||
516 | void MainWindow::slotKeyReceived(ushort u, ushort q, bool, bool pressed, bool) { | 516 | void MainWindow::slotKeyReceived(ushort u, ushort q, bool, bool pressed, bool) { |
517 | 517 | ||
518 | qWarning("unicode: %x, qkey: %x, %s", u, q, pressed ? "pressed" : "released"); | 518 | //qWarning("unicode: %x, qkey: %x, %s", u, q, pressed ? "pressed" : "released"); |
519 | 519 | ||
520 | if ( m_curSession ) { | 520 | if ( m_curSession ) { |
521 | 521 | ||
522 | QEvent::Type state; | 522 | QEvent::Type state; |
523 | 523 | ||
524 | if (pressed) state = QEvent::KeyPress; | 524 | if (pressed) state = QEvent::KeyPress; |
525 | else state = QEvent::KeyRelease; | 525 | else state = QEvent::KeyRelease; |
526 | 526 | ||