summaryrefslogtreecommitdiff
authorhash <hash>2002-08-22 06:49:40 (UTC)
committer hash <hash>2002-08-22 06:49:40 (UTC)
commit8eee5a5dc6a43ed3cdd77095c3a91128fe76589e (patch) (side-by-side diff)
treec6ea5f00744921a0da52111dd7daf8e76374cc63
parent4ed706f6a327e06403e1def058b7290dcde3e634 (diff)
downloadopie-8eee5a5dc6a43ed3cdd77095c3a91128fe76589e.zip
opie-8eee5a5dc6a43ed3cdd77095c3a91128fe76589e.tar.gz
opie-8eee5a5dc6a43ed3cdd77095c3a91128fe76589e.tar.bz2
comments behind shift and meta key map definitions was making it ingore the whole line
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--inputmethods/multikey/keyboard.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/inputmethods/multikey/keyboard.cpp b/inputmethods/multikey/keyboard.cpp
index 1c17172..89937cf 100644
--- a/inputmethods/multikey/keyboard.cpp
+++ b/inputmethods/multikey/keyboard.cpp
@@ -300,47 +300,49 @@ void Keyboard::mousePressEvent(QMouseEvent *e)
connect(configdlg, SIGNAL(setMapToDefault()),
this, SLOT(setMapToDefault()));
connect(configdlg, SIGNAL(setMapToFile(QString)),
this, SLOT(setMapToFile(QString)));
connect(configdlg, SIGNAL(pickboardToggled(bool)),
this, SLOT(togglePickboard(bool)));
connect(configdlg, SIGNAL(repeatToggled(bool)),
this, SLOT(toggleRepeat(bool)));
connect(configdlg, SIGNAL(reloadKeyboard()),
this, SLOT(reloadKeyboard()));
configdlg->showMaximized();
configdlg->show();
configdlg->raise();
}
} else if (qkeycode == Qt::Key_Control) {
+ need_repaint = TRUE;
if (ctrl) {
*ctrl = 0;
ctrl = 0;
} else {
ctrl = keys->pressedPtr(row, col);
need_repaint = TRUE;
*ctrl = !keys->pressed(row, col);
}
} else if (qkeycode == Qt::Key_Alt) {
+ need_repaint = TRUE;
if (alt) {
*alt = 0;
alt = 0;
} else {
alt = keys->pressedPtr(row, col);
need_repaint = TRUE;
*alt = !keys->pressed(row, col);
}
} else if (qkeycode == Qt::Key_Shift) {
need_repaint = TRUE;
if (shift) {