author | zecke <zecke> | 2002-10-14 18:13:20 (UTC) |
---|---|---|
committer | zecke <zecke> | 2002-10-14 18:13:20 (UTC) |
commit | e789f01a4fc6ada39809d40f8c44a6f6deec7785 (patch) (side-by-side diff) | |
tree | fffa1e5394daf5f648f62aa331b4aa8a792ceba1 /noncore/apps/opie-console/mainwindow.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/mainwindow.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/mainwindow.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/noncore/apps/opie-console/mainwindow.cpp b/noncore/apps/opie-console/mainwindow.cpp index 1d7a4be..02f8451 100644 --- a/noncore/apps/opie-console/mainwindow.cpp +++ b/noncore/apps/opie-console/mainwindow.cpp @@ -1,3 +1,6 @@ +#include <assert.h> + + #include <qaction.h> #include <qmenubar.h> @@ -8,6 +11,7 @@ #include <opie/ofiledialog.h> #include <qmessagebox.h> +#include "keytrans.h" #include "profileeditordialog.h" #include "configdialog.h" #include "default.h" @@ -21,6 +25,11 @@ #include "script.h" MainWindow::MainWindow() { + KeyTrans::loadAll(); + for (int i = 0; i < KeyTrans::count(); i++ ) { + KeyTrans* s = KeyTrans::find(i ); + assert( s ); + } m_factory = new MetaFactory(); Default def(m_factory); m_sessions.setAutoDelete( TRUE ); |