Diffstat (limited to 'noncore/apps/opie-console/metafactory.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/metafactory.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/noncore/apps/opie-console/metafactory.cpp b/noncore/apps/opie-console/metafactory.cpp index ea7f739..c5e614d 100644 --- a/noncore/apps/opie-console/metafactory.cpp +++ b/noncore/apps/opie-console/metafactory.cpp | |||
@@ -57,20 +57,20 @@ IOLayer* MetaFactory::newIOLayer( const QString& str,const Profile& prof ) { | |||
57 | lay = (*laye )(conf);*/ | 57 | lay = (*laye )(conf);*/ |
58 | } | 58 | } |
59 | 59 | ||
60 | return lay; | 60 | return lay; |
61 | } | 61 | } |
62 | 62 | ||
63 | QWidget *MetaFactory::newConfigWidget ( const QString& str, QWidget* parent) { | 63 | ProfileEditorPlugin *MetaFactory::newConfigPlugin ( const QString& str, QWidget *parent, const Profile& prof) { |
64 | QWidget *w = NULL; | 64 | ProfileEditorPlugin *p = NULL; |
65 | configWidget c; | 65 | configWidget c; |
66 | 66 | ||
67 | c = m_confFact[str]; | 67 | c = m_confFact[str]; |
68 | if(c) w = c(parent); | 68 | if(c) p = c(parent, prof); |
69 | 69 | ||
70 | return w; | 70 | return p; |
71 | } | 71 | } |
72 | 72 | ||
73 | QString MetaFactory::name( const QString& str ) { | 73 | QString MetaFactory::name( const QString& str ) { |
74 | return m_namemap[str]; | 74 | return m_namemap[str]; |
75 | } | 75 | } |
76 | 76 | ||