-rw-r--r-- | noncore/net/mail/mainwindow.cpp | 1 |
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 | |||
@@ -68,32 +68,33 @@ MainWindow::MainWindow( QWidget *parent, const char *name, WFlags flags ) | |||
68 | 68 | ||
69 | editSettings = new QAction( tr( "Edit settings" ), ICON_EDITSETTINGS, | 69 | editSettings = new QAction( tr( "Edit settings" ), ICON_EDITSETTINGS, |
70 | 0, 0, this ); | 70 | 0, 0, this ); |
71 | editSettings->addTo( settingsMenu ); | 71 | editSettings->addTo( settingsMenu ); |
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); |
96 | 97 | ||
97 | layout->addWidget( mailView ); | 98 | layout->addWidget( mailView ); |
98 | layout->setStretchFactor( folderView, 1 ); | 99 | layout->setStretchFactor( folderView, 1 ); |
99 | layout->setStretchFactor( mailView, 2 ); | 100 | layout->setStretchFactor( mailView, 2 ); |