author | zecke <zecke> | 2002-10-14 18:13:20 (UTC) |
---|---|---|
committer | zecke <zecke> | 2002-10-14 18:13:20 (UTC) |
commit | e789f01a4fc6ada39809d40f8c44a6f6deec7785 (patch) (unidiff) | |
tree | fffa1e5394daf5f648f62aa331b4aa8a792ceba1 /noncore/apps/opie-console/keytrans.cpp | |
parent | 3e92f4eba0510e7d3744f096a62eaa175b15c993 (diff) | |
download | opie-e789f01a4fc6ada39809d40f8c44a6f6deec7785.zip opie-e789f01a4fc6ada39809d40f8c44a6f6deec7785.tar.gz opie-e789f01a4fc6ada39809d40f8c44a6f6deec7785.tar.bz2 |
Make it work!
Diffstat (limited to 'noncore/apps/opie-console/keytrans.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/keytrans.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/noncore/apps/opie-console/keytrans.cpp b/noncore/apps/opie-console/keytrans.cpp index 5ea192e..d569ae0 100644 --- a/noncore/apps/opie-console/keytrans.cpp +++ b/noncore/apps/opie-console/keytrans.cpp | |||
@@ -627,21 +627,18 @@ static QDict<KeyTrans> * path2keymap = 0L; | |||
627 | 627 | ||
628 | KeyTrans* KeyTrans::find(int numb) | 628 | KeyTrans* KeyTrans::find(int numb) |
629 | { | 629 | { |
630 | loadAll(); | ||
631 | KeyTrans* res = numb2keymap->find(numb); | 630 | KeyTrans* res = numb2keymap->find(numb); |
632 | return res ? res : numb2keymap->find(0); | 631 | return res ? res : numb2keymap->find(0); |
633 | } | 632 | } |
634 | 633 | ||
635 | KeyTrans* KeyTrans::find(const char* path) | 634 | KeyTrans* KeyTrans::find(const char* path) |
636 | { | 635 | { |
637 | loadAll(); | ||
638 | KeyTrans* res = path2keymap->find(path); | 636 | KeyTrans* res = path2keymap->find(path); |
639 | return res ? res : numb2keymap->find(0); | 637 | return res ? res : numb2keymap->find(0); |
640 | } | 638 | } |
641 | 639 | ||
642 | int KeyTrans::count() | 640 | int KeyTrans::count() |
643 | { | 641 | { |
644 | loadAll(); | ||
645 | return numb2keymap->count(); | 642 | return numb2keymap->count(); |
646 | } | 643 | } |
647 | 644 | ||