Diffstat (limited to 'libopie2/opieui/big-screen/owidgetstack.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie2/opieui/big-screen/owidgetstack.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libopie2/opieui/big-screen/owidgetstack.cpp b/libopie2/opieui/big-screen/owidgetstack.cpp index de7f83f..9c9f7ec 100644 --- a/libopie2/opieui/big-screen/owidgetstack.cpp +++ b/libopie2/opieui/big-screen/owidgetstack.cpp | |||
@@ -417,25 +417,25 @@ void OWidgetStack::switchTop() { | |||
417 | m_mWidget->setGeometry( frameRect() ); | 417 | m_mWidget->setGeometry( frameRect() ); |
418 | return; | 418 | return; |
419 | }else if (!m_stack) | 419 | }else if (!m_stack) |
420 | return; | 420 | return; |
421 | 421 | ||
422 | if (!m_list.isEmpty() ) { | 422 | if (!m_list.isEmpty() ) { |
423 | QMap<int, QWidget*>::Iterator it = m_list.begin(); | 423 | QMap<int, QWidget*>::Iterator it = m_list.begin(); |
424 | for ( ; it != m_list.end(); ++it ) { | 424 | for ( ; it != m_list.end(); ++it ) { |
425 | /* better than reparenting twice */ | 425 | /* better than reparenting twice */ |
426 | if ( it.data() == m_mWidget ) { | 426 | if ( it.data() == m_mWidget ) { |
427 | m_mWidget->reparent(this, 0, frameRect().topLeft() ); | 427 | m_mWidget->reparent(this, 0, frameRect().topLeft() ); |
428 | m_mWidget->setGeometry( frameRect() ); | 428 | m_mWidget->setGeometry( frameRect() ); |
429 | m_mWidget->show(); | 429 | m_mWidget->show(); |
430 | }else | 430 | }else |
431 | /* ### FIXME we need to place the widget better */ | 431 | /* ### FIXME we need to place the widget better */ |
432 | it.data()->reparent(0, WType_TopLevel, QPoint(10, 10) ); | 432 | it.data()->reparent(0, WType_TopLevel, QPoint(10, 10) ); |
433 | } | 433 | } |
434 | } | 434 | } |
435 | 435 | ||
436 | delete m_stack; | 436 | delete m_stack; |
437 | m_stack = 0; | 437 | m_stack = 0; |
438 | } | 438 | } |
439 | 439 | ||
440 | } | 440 | } |
441 | } \ No newline at end of file | 441 | } |