Diffstat (limited to 'noncore/apps/opie-console/mainwindow.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/mainwindow.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/noncore/apps/opie-console/mainwindow.cpp b/noncore/apps/opie-console/mainwindow.cpp index 31f1138..647a331 100644 --- a/noncore/apps/opie-console/mainwindow.cpp +++ b/noncore/apps/opie-console/mainwindow.cpp | |||
@@ -6,6 +6,7 @@ | |||
6 | #include <qtoolbar.h> | 6 | #include <qtoolbar.h> |
7 | 7 | ||
8 | #include "configdialog.h" | 8 | #include "configdialog.h" |
9 | #include "default.h" | ||
9 | #include "metafactory.h" | 10 | #include "metafactory.h" |
10 | #include "profilemanager.h" | 11 | #include "profilemanager.h" |
11 | #include "mainwindow.h" | 12 | #include "mainwindow.h" |
@@ -13,6 +14,7 @@ | |||
13 | 14 | ||
14 | MainWindow::MainWindow() { | 15 | MainWindow::MainWindow() { |
15 | m_factory = new MetaFactory(); | 16 | m_factory = new MetaFactory(); |
17 | Default def(m_factory); | ||
16 | m_sessions.setAutoDelete( TRUE ); | 18 | m_sessions.setAutoDelete( TRUE ); |
17 | m_curSession = 0; | 19 | m_curSession = 0; |
18 | m_manager = new ProfileManager( m_factory ); | 20 | m_manager = new ProfileManager( m_factory ); |
@@ -156,7 +158,7 @@ void MainWindow::slotTerminate() { | |||
156 | 158 | ||
157 | void MainWindow::slotConfigure() { | 159 | void MainWindow::slotConfigure() { |
158 | qWarning("configure"); | 160 | qWarning("configure"); |
159 | ConfigDialog conf( manager()->all() ); | 161 | ConfigDialog conf( manager()->all(), factory() ); |
160 | conf.showMaximized(); | 162 | conf.showMaximized(); |
161 | 163 | ||
162 | int ret = conf.exec(); | 164 | int ret = conf.exec(); |