summaryrefslogtreecommitdiff
authorharlekin <harlekin>2003-12-14 01:09:50 (UTC)
committer harlekin <harlekin>2003-12-14 01:09:50 (UTC)
commit52966e8b529e78ae431839abd90cec2ebb0d6dff (patch) (unidiff)
tree46c59f53148a3217da61c903b89e835f5e61a4c9
parent9a0f1ee9b3ba465942d207eaddec722371f86353 (diff)
downloadopie-52966e8b529e78ae431839abd90cec2ebb0d6dff.zip
opie-52966e8b529e78ae431839abd90cec2ebb0d6dff.tar.gz
opie-52966e8b529e78ae431839abd90cec2ebb0d6dff.tar.bz2
mail listview not colapsable
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/mail/mainwindow.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/net/mail/mainwindow.cpp b/noncore/net/mail/mainwindow.cpp
index 2b5870a..391b55e 100644
--- a/noncore/net/mail/mainwindow.cpp
+++ b/noncore/net/mail/mainwindow.cpp
@@ -72,24 +72,25 @@ MainWindow::MainWindow( QWidget *parent, const char *name, WFlags flags )
72 72
73 editAccounts = new QAction( tr( "Configure accounts" ), ICON_EDITACCOUNTS, 73 editAccounts = new QAction( tr( "Configure accounts" ), ICON_EDITACCOUNTS,
74 0, 0, this ); 74 0, 0, this );
75 editAccounts->addTo( settingsMenu ); 75 editAccounts->addTo( settingsMenu );
76 76
77 QWidget *view = new QWidget( this ); 77 QWidget *view = new QWidget( this );
78 setCentralWidget( view ); 78 setCentralWidget( view );
79 79
80 layout = new QBoxLayout ( view, QBoxLayout::LeftToRight ); 80 layout = new QBoxLayout ( view, QBoxLayout::LeftToRight );
81 81
82 folderView = new AccountView( view ); 82 folderView = new AccountView( view );
83 folderView->header()->hide(); 83 folderView->header()->hide();
84 folderView->setRootIsDecorated( false );
84 folderView->addColumn( tr( "Mailbox" ) ); 85 folderView->addColumn( tr( "Mailbox" ) );
85 folderView->hide(); 86 folderView->hide();
86 87
87 layout->addWidget( folderView ); 88 layout->addWidget( folderView );
88 89
89 mailView = new QListView( view ); 90 mailView = new QListView( view );
90 mailView->addColumn( tr( "" ) ); 91 mailView->addColumn( tr( "" ) );
91 mailView->addColumn( tr( "Subject" ),QListView::Manual ); 92 mailView->addColumn( tr( "Subject" ),QListView::Manual );
92 mailView->addColumn( tr( "Sender" ),QListView::Manual ); 93 mailView->addColumn( tr( "Sender" ),QListView::Manual );
93 mailView->addColumn( tr( "Date" )); 94 mailView->addColumn( tr( "Date" ));
94 mailView->setAllColumnsShowFocus(true); 95 mailView->setAllColumnsShowFocus(true);
95 mailView->setSorting(-1); 96 mailView->setSorting(-1);