author | harlekin <harlekin> | 2002-10-23 15:29:20 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-10-23 15:29:20 (UTC) |
commit | d3c2817cea75b9b84ea02a102e7048abf109f848 (patch) (unidiff) | |
tree | a7ac3e77b5907b7a0e154a8b3bbc770d67459996 /noncore/apps/opie-console/mainwindow.cpp | |
parent | 30f9875a844ff59a51c65d542e2ed1c5a214af9d (diff) | |
download | opie-d3c2817cea75b9b84ea02a102e7048abf109f848.zip opie-d3c2817cea75b9b84ea02a102e7048abf109f848.tar.gz opie-d3c2817cea75b9b84ea02a102e7048abf109f848.tar.bz2 |
right widget size when comming back rom fullscreen
Diffstat (limited to 'noncore/apps/opie-console/mainwindow.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/mainwindow.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/noncore/apps/opie-console/mainwindow.cpp b/noncore/apps/opie-console/mainwindow.cpp index 30dd21c..c1020fa 100644 --- a/noncore/apps/opie-console/mainwindow.cpp +++ b/noncore/apps/opie-console/mainwindow.cpp | |||
@@ -497,11 +497,8 @@ void MainWindow::slotFullscreen() { | |||
497 | 497 | ||
498 | 498 | ||
499 | if ( m_isFullscreen ) { | 499 | if ( m_isFullscreen ) { |
500 | ( m_curSession->widgetStack() )->reparent( savedParentFullscreen, 0, QPoint(0,0), false ); | 500 | ( m_curSession->widgetStack() )->reparent( savedParentFullscreen, 0, QPoint(0,0), true ); |
501 | ( m_curSession->widgetStack() )->setFrameStyle( QFrame::Panel | QFrame::Sunken ); | 501 | ( m_curSession->widgetStack() )->resize( savedParentFullscreen->width(), savedParentFullscreen->height() ); |
502 | |||
503 | setCentralWidget( m_consoleWindow ); | ||
504 | ( m_curSession->widgetStack() )->show(); | ||
505 | ( m_curSession->emulationHandler() )->cornerButton()->hide(); | 502 | ( m_curSession->emulationHandler() )->cornerButton()->hide(); |
506 | disconnect( ( m_curSession->emulationHandler() )->cornerButton(), SIGNAL( pressed() ), this, SLOT( slotFullscreen() ) ); | 503 | disconnect( ( m_curSession->emulationHandler() )->cornerButton(), SIGNAL( pressed() ), this, SLOT( slotFullscreen() ) ); |
507 | 504 | ||