summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/mail/mainwindow.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/noncore/net/mail/mainwindow.cpp b/noncore/net/mail/mainwindow.cpp
index e466d9b..cab1a66 100644
--- a/noncore/net/mail/mainwindow.cpp
+++ b/noncore/net/mail/mainwindow.cpp
@@ -52,8 +52,9 @@ MainWindow::MainWindow( QWidget *parent, const char *name, WFlags flags )
52 showFolders = new QAction( tr( "Show/Hide folders" ), ICON_SHOWFOLDERS, 52 showFolders = new QAction( tr( "Show/Hide folders" ), ICON_SHOWFOLDERS,
53 0, 0, this, 0, true ); 53 0, 0, this, 0, true );
54 showFolders->addTo( toolBar ); 54 showFolders->addTo( toolBar );
55 showFolders->addTo( mailMenu ); 55 showFolders->addTo( mailMenu );
56 showFolders->setOn( true );
56 connect(showFolders, SIGNAL( toggled( bool ) ), 57 connect(showFolders, SIGNAL( toggled( bool ) ),
57 SLOT( slotShowFolders( bool ) ) ); 58 SLOT( slotShowFolders( bool ) ) );
58 59
59 searchMails = new QAction( tr( "Search mails" ), ICON_SEARCHMAILS, 60 searchMails = new QAction( tr( "Search mails" ), ICON_SEARCHMAILS,
@@ -83,9 +84,9 @@ MainWindow::MainWindow( QWidget *parent, const char *name, WFlags flags )
83 folderView = new AccountView( view ); 84 folderView = new AccountView( view );
84 folderView->header()->hide(); 85 folderView->header()->hide();
85 folderView->setRootIsDecorated( false ); 86 folderView->setRootIsDecorated( false );
86 folderView->addColumn( tr( "Mailbox" ) ); 87 folderView->addColumn( tr( "Mailbox" ) );
87 folderView->hide(); 88 //folderView->hide();
88 89
89 layout->addWidget( folderView ); 90 layout->addWidget( folderView );
90 91
91 mailView = new QListView( view ); 92 mailView = new QListView( view );
@@ -107,8 +108,9 @@ MainWindow::MainWindow( QWidget *parent, const char *name, WFlags flags )
107 108
108 connect(folderView, SIGNAL(refreshMailview(QList<RecMail>*)),this,SLOT(refreshMailView(QList<RecMail>*))); 109 connect(folderView, SIGNAL(refreshMailview(QList<RecMail>*)),this,SLOT(refreshMailView(QList<RecMail>*)));
109 110
110 QTimer::singleShot( 1000, this, SLOT( slotAdjustColumns() ) ); 111 QTimer::singleShot( 1000, this, SLOT( slotAdjustColumns() ) );
112
111} 113}
112 114
113 115
114void MainWindow::slotAdjustLayout() { 116void MainWindow::slotAdjustLayout() {