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/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) (ignore 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 @@ | |||
1 | #include <assert.h> | ||
2 | |||
3 | |||
1 | 4 | ||
2 | #include <qaction.h> | 5 | #include <qaction.h> |
3 | #include <qmenubar.h> | 6 | #include <qmenubar.h> |
@@ -8,6 +11,7 @@ | |||
8 | #include <opie/ofiledialog.h> | 11 | #include <opie/ofiledialog.h> |
9 | #include <qmessagebox.h> | 12 | #include <qmessagebox.h> |
10 | 13 | ||
14 | #include "keytrans.h" | ||
11 | #include "profileeditordialog.h" | 15 | #include "profileeditordialog.h" |
12 | #include "configdialog.h" | 16 | #include "configdialog.h" |
13 | #include "default.h" | 17 | #include "default.h" |
@@ -21,6 +25,11 @@ | |||
21 | #include "script.h" | 25 | #include "script.h" |
22 | 26 | ||
23 | MainWindow::MainWindow() { | 27 | MainWindow::MainWindow() { |
28 | KeyTrans::loadAll(); | ||
29 | for (int i = 0; i < KeyTrans::count(); i++ ) { | ||
30 | KeyTrans* s = KeyTrans::find(i ); | ||
31 | assert( s ); | ||
32 | } | ||
24 | m_factory = new MetaFactory(); | 33 | m_factory = new MetaFactory(); |
25 | Default def(m_factory); | 34 | Default def(m_factory); |
26 | m_sessions.setAutoDelete( TRUE ); | 35 | m_sessions.setAutoDelete( TRUE ); |