summaryrefslogtreecommitdiff
authorhash <hash>2002-10-18 17:50:05 (UTC)
committer hash <hash>2002-10-18 17:50:05 (UTC)
commit351d2f95d3f5beba26e5879659ddafb84b0f98f4 (patch) (side-by-side diff)
treef48d66f766ca02950d6295ea00d912d40081c43d
parentaddfc9900cbf3da2cdbfa54ea849bc7f7fb1b296 (diff)
downloadopie-351d2f95d3f5beba26e5879659ddafb84b0f98f4.zip
opie-351d2f95d3f5beba26e5879659ddafb84b0f98f4.tar.gz
opie-351d2f95d3f5beba26e5879659ddafb84b0f98f4.tar.bz2
always autoconnect bug fixed
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/opie-console/mainwindow.cpp4
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
@@ -429,13 +429,13 @@ void MainWindow::create( const Profile& prof ) {
m_runScript->setEnabled( true );
m_fullscreen->setEnabled( true );
m_closewindow->setEnabled( true );
// is io_layer wants direct connection, then autoconnect
- if ( ( m_curSession->layer() )->supports()[0] = 1 ) {
+ if ( ( m_curSession->layer() )->supports()[0] == 1 ) {
slotConnect();
}
}
void MainWindow::slotTransfer()
{
@@ -512,13 +512,13 @@ void MainWindow::slotFullscreen() {
m_isFullscreen = !m_isFullscreen;
}
void MainWindow::slotKeyReceived(ushort u, ushort q, bool, bool pressed, bool) {
- qWarning("unicode: %x, qkey: %x, %s", u, q, pressed ? "pressed" : "released");
+ //qWarning("unicode: %x, qkey: %x, %s", u, q, pressed ? "pressed" : "released");
if ( m_curSession ) {
QEvent::Type state;
if (pressed) state = QEvent::KeyPress;