summaryrefslogtreecommitdiff
path: root/inputmethods/multikey/configdlg.cpp
Side-by-side diff
Diffstat (limited to 'inputmethods/multikey/configdlg.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--inputmethods/multikey/configdlg.cpp11
1 files changed, 9 insertions, 2 deletions
diff --git a/inputmethods/multikey/configdlg.cpp b/inputmethods/multikey/configdlg.cpp
index 26c9233..a8206b7 100644
--- a/inputmethods/multikey/configdlg.cpp
+++ b/inputmethods/multikey/configdlg.cpp
@@ -1,8 +1,9 @@
/*
* TODO
* make a font selection thing (size too)
- * make vertical keys possible
* make a keymap editor
+ * make keys translucent
+ * make vertical keys possible
*
*
*/
@@ -248,6 +249,12 @@ void ConfigDlg::repeatTog() {
emit repeatToggled(repeat_button->isChecked());
}
+void ConfigDlg::closeEvent(QCloseEvent *) {
+
+ // tell the parent it was closed, so delete me
+ emit configDlgClosed();
+}
+
// ConfigDlg::setMap {{{1
/*
@@ -267,7 +274,7 @@ void ConfigDlg::setMap(int index) {
else if ((uint)index <= default_maps.count()) {
remove_button->setDisabled(true);
- emit setMapToFile(QPEApplication::qpeDir() + "/share/multikey/" + default_maps[index - 1]);
+ emit setMapToFile(QPEApplication::qpeDir() + "share/multikey/" + default_maps[index - 1]);
} else {