author | hash <hash> | 2002-10-22 16:01:27 (UTC) |
---|---|---|
committer | hash <hash> | 2002-10-22 16:01:27 (UTC) |
commit | 6843a1bd8f8e679c220431f8377abcd2ffd2019b (patch) (unidiff) | |
tree | cec84037b60d0ae1e69c69a21e6da2dea3aaf5b6 /noncore/apps/opie-console/mainwindow.cpp | |
parent | dca783a6564d7d0d8c857cef8586167bc0609647 (diff) | |
download | opie-6843a1bd8f8e679c220431f8377abcd2ffd2019b.zip opie-6843a1bd8f8e679c220431f8377abcd2ffd2019b.tar.gz opie-6843a1bd8f8e679c220431f8377abcd2ffd2019b.tar.bz2 |
cant figure out why modifying a private var in FunctionKeyboardConfig causes it to segfault.
Diffstat (limited to 'noncore/apps/opie-console/mainwindow.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/mainwindow.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/noncore/apps/opie-console/mainwindow.cpp b/noncore/apps/opie-console/mainwindow.cpp index 89f3516..30dd21c 100644 --- a/noncore/apps/opie-console/mainwindow.cpp +++ b/noncore/apps/opie-console/mainwindow.cpp | |||
@@ -205,14 +205,14 @@ void MainWindow::initUI() { | |||
205 | m_keyBar = new QToolBar(this); | 205 | m_keyBar = new QToolBar(this); |
206 | addToolBar( m_keyBar, "Keyboard", QMainWindow::Top, TRUE ); | 206 | addToolBar( m_keyBar, "Keyboard", QMainWindow::Top, TRUE ); |
207 | m_keyBar->setHorizontalStretchable( TRUE ); | 207 | m_keyBar->setHorizontalStretchable( TRUE ); |
208 | m_keyBar->hide(); | 208 | m_keyBar->hide(); |
209 | 209 | ||
210 | m_kb = new FunctionKeyboard(m_keyBar); | 210 | m_kb = new FunctionKeyboard(m_keyBar); |
211 | connect(m_kb, SIGNAL(keyPressed(ushort, ushort, bool, bool, bool)), | 211 | connect(m_kb, SIGNAL(keyPressed(ushort, ushort, bool, bool, bool, ushort, ushort)), |
212 | this, SLOT(slotKeyReceived(ushort, ushort, bool, bool, bool))); | 212 | this, SLOT(slotKeyReceived(ushort, ushort, bool, bool, bool, ushort, ushort))); |
213 | 213 | ||
214 | m_buttonBar = new QToolBar( this ); | 214 | m_buttonBar = new QToolBar( this ); |
215 | addToolBar( m_buttonBar, "Buttons", QMainWindow::Top, TRUE ); | 215 | addToolBar( m_buttonBar, "Buttons", QMainWindow::Top, TRUE ); |
216 | m_buttonBar->setHorizontalStretchable( TRUE ); | 216 | m_buttonBar->setHorizontalStretchable( TRUE ); |
217 | m_buttonBar->hide(); | 217 | m_buttonBar->hide(); |
218 | 218 | ||
@@ -520,13 +520,13 @@ void MainWindow::slotFullscreen() { | |||
520 | } | 520 | } |
521 | 521 | ||
522 | m_isFullscreen = !m_isFullscreen; | 522 | m_isFullscreen = !m_isFullscreen; |
523 | } | 523 | } |
524 | 524 | ||
525 | 525 | ||
526 | void MainWindow::slotKeyReceived(ushort u, ushort q, bool, bool pressed, bool) { | 526 | void MainWindow::slotKeyReceived(ushort u, ushort q, bool, bool pressed, bool, ushort, ushort) { |
527 | 527 | ||
528 | //qWarning("unicode: %x, qkey: %x, %s", u, q, pressed ? "pressed" : "released"); | 528 | //qWarning("unicode: %x, qkey: %x, %s", u, q, pressed ? "pressed" : "released"); |
529 | 529 | ||
530 | if ( m_curSession ) { | 530 | if ( m_curSession ) { |
531 | 531 | ||
532 | QEvent::Type state; | 532 | QEvent::Type state; |