Diffstat (limited to 'noncore/apps/opie-console/configdialog.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/configdialog.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/noncore/apps/opie-console/configdialog.cpp b/noncore/apps/opie-console/configdialog.cpp index ee1ffb4..50512b6 100644 --- a/noncore/apps/opie-console/configdialog.cpp +++ b/noncore/apps/opie-console/configdialog.cpp @@ -30,6 +30,7 @@ Profile ConfigListItem::profile()const { /* Dialog */ -ConfigDialog::ConfigDialog( const Profile::ValueList& lis, QWidget* parent ) - : ConfigureBase( parent, 0, TRUE ) +ConfigDialog::ConfigDialog( const Profile::ValueList& lis, MetaFactory* fa, + QWidget* parent ) + : ConfigureBase( parent, 0, TRUE ), m_fact( fa ) { //init(); @@ -72,5 +73,5 @@ void ConfigDialog::slotEdit() { p = ((ConfigListItem*)lstView->currentItem())->profile(); - ProfileEditorDialog dlg(new MetaFactory(), p); + ProfileEditorDialog dlg(m_fact, p); dlg.setCaption("Edit Connection Profile"); @@ -91,5 +92,6 @@ void ConfigDialog::slotEdit() { void ConfigDialog::slotAdd() { - ProfileEditorDialog dlg(new MetaFactory()); + qWarning("slotAdd"); + ProfileEditorDialog dlg(m_fact); dlg.setCaption("New Connection"); |