From e789f01a4fc6ada39809d40f8c44a6f6deec7785 Mon Sep 17 00:00:00 2001 From: zecke Date: Mon, 14 Oct 2002 18:13:20 +0000 Subject: Make it work! --- (limited to 'noncore/apps/opie-console/mainwindow.cpp') 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 + + #include #include @@ -8,6 +11,7 @@ #include #include +#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 ); -- cgit v0.9.0.2