summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/mail/mainwindow.cpp13
1 files changed, 8 insertions, 5 deletions
diff --git a/noncore/net/mail/mainwindow.cpp b/noncore/net/mail/mainwindow.cpp
index d3b9c34..a0ce6c1 100644
--- a/noncore/net/mail/mainwindow.cpp
+++ b/noncore/net/mail/mainwindow.cpp
@@ -87,4 +87,8 @@ MainWindow::MainWindow( QWidget *parent, const char *name, WFlags flags )
- QWidget *view = new QWidget( this );
- setCentralWidget( view );
+ //setCentralWidget( view );
+
+ QVBox* wrapperBox = new QVBox( this );
+ setCentralWidget( wrapperBox );
+
+ QWidget *view = new QWidget( wrapperBox );
@@ -96,3 +100,2 @@ MainWindow::MainWindow( QWidget *parent, const char *name, WFlags flags )
folderView->addColumn( tr( "Mailbox" ) );
- //folderView->hide();
@@ -109,6 +112,6 @@ MainWindow::MainWindow( QWidget *parent, const char *name, WFlags flags )
- statusWidget = new StatusWidget( view );
+ statusWidget = new StatusWidget( wrapperBox );
+ statusWidget->hide();
layout->addWidget( mailView );
- layout->addWidget( statusWidget );
layout->setStretchFactor( folderView, 1 );