summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-console/mainwindow.cpp12
1 files changed, 7 insertions, 5 deletions
diff --git a/noncore/apps/opie-console/mainwindow.cpp b/noncore/apps/opie-console/mainwindow.cpp
index 55e9836..27407d9 100644
--- a/noncore/apps/opie-console/mainwindow.cpp
+++ b/noncore/apps/opie-console/mainwindow.cpp
@@ -2,4 +2,2 @@
2 2
3
4
5#include <qaction.h> 3#include <qaction.h>
@@ -14,4 +12,4 @@
14#include <qpe/resource.h> 12#include <qpe/resource.h>
15#include <opie/ofiledialog.h>
16 13
14#include <opie/ofiledialog.h>
17 15
@@ -488,5 +486,8 @@ void MainWindow::slotFullscreen() {
488 486
487
488
489 if ( m_isFullscreen ) { 489 if ( m_isFullscreen ) {
490 ( m_curSession->widgetStack() )->reparent( m_consoleWindow, 0, QPoint(0,0), false ); 490 ( m_curSession->widgetStack() )->reparent( savedParentFullscreen, 0, QPoint(0,0), false );
491 ( m_curSession->widgetStack() )->setFrameStyle( QFrame::Panel | QFrame::Sunken ); 491 ( m_curSession->widgetStack() )->setFrameStyle( QFrame::Panel | QFrame::Sunken );
492
492 setCentralWidget( m_consoleWindow ); 493 setCentralWidget( m_consoleWindow );
@@ -497,4 +498,5 @@ void MainWindow::slotFullscreen() {
497 } else { 498 } else {
499 savedParentFullscreen = ( m_curSession->widgetStack() )->parentWidget();
498 ( m_curSession->widgetStack() )->setFrameStyle( QFrame::NoFrame ); 500 ( m_curSession->widgetStack() )->setFrameStyle( QFrame::NoFrame );
499 ( m_curSession->widgetStack() )->reparent( 0,WStyle_Tool | WStyle_Customize | WStyle_StaysOnTop 501 ( m_curSession->widgetStack() )->reparent( 0, WStyle_Tool | WStyle_Customize | WStyle_StaysOnTop
500 , QPoint(0,0), false ); 502 , QPoint(0,0), false );