Diffstat (limited to 'noncore/graphics/opie-eye/gui/mainwindow.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/graphics/opie-eye/gui/mainwindow.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/noncore/graphics/opie-eye/gui/mainwindow.cpp b/noncore/graphics/opie-eye/gui/mainwindow.cpp index 529bee4..21a668a 100644 --- a/noncore/graphics/opie-eye/gui/mainwindow.cpp +++ b/noncore/graphics/opie-eye/gui/mainwindow.cpp | |||
@@ -195,7 +195,11 @@ void PMainWindow::slotConfig() { | |||
195 | if ( act ) { | 195 | if ( act ) { |
196 | m_view->resetView(); | 196 | m_view->resetView(); |
197 | keyWid->save(); | 197 | keyWid->save(); |
198 | m_disp->manager()->save(); | ||
199 | m_info->manager()->save(); | ||
200 | m_view->manager()->save(); | ||
198 | } | 201 | } |
202 | delete keyWid; | ||
199 | } | 203 | } |
200 | 204 | ||
201 | /* | 205 | /* |
@@ -210,7 +214,7 @@ void PMainWindow::initT( const char* name, T** ptr, int id) { | |||
210 | (*ptr)->setDestructiveClose(); | 214 | (*ptr)->setDestructiveClose(); |
211 | m_stack->removeWidget( *ptr ); | 215 | m_stack->removeWidget( *ptr ); |
212 | } | 216 | } |
213 | *ptr = new T( m_stack, name ); | 217 | *ptr = new T(m_cfg, m_stack, name ); |
214 | m_stack->addWidget( *ptr, id ); | 218 | m_stack->addWidget( *ptr, id ); |
215 | 219 | ||
216 | connect(*ptr, SIGNAL(sig_return()), | 220 | connect(*ptr, SIGNAL(sig_return()), |