-rw-r--r-- | kmicromail/mailistviewitem.cpp | 2 | ||||
-rw-r--r-- | kmicromail/mainwindow.cpp | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/kmicromail/mailistviewitem.cpp b/kmicromail/mailistviewitem.cpp index 15fa148..41cee52 100644 --- a/kmicromail/mailistviewitem.cpp +++ b/kmicromail/mailistviewitem.cpp | |||
@@ -50,17 +50,17 @@ void MailListViewItem::showEntry() | |||
50 | if ( fsize.right(2) == "kB" ) { | 50 | if ( fsize.right(2) == "kB" ) { |
51 | mKeyMap.insert(3, "k" + fsort); | 51 | mKeyMap.insert(3, "k" + fsort); |
52 | } else { | 52 | } else { |
53 | mKeyMap.insert(3, "M" +fsort ); | 53 | mKeyMap.insert(3, "M" +fsort ); |
54 | } | 54 | } |
55 | setText(1,mail_data->getSubject()); | 55 | setText(1,mail_data->getSubject()); |
56 | setText(2,mail_data->getFrom()); | 56 | setText(2,mail_data->getFrom()); |
57 | mKeyMap.insert(4,mail_data->getIsoDate()); | 57 | mKeyMap.insert(4,mail_data->getIsoDate()); |
58 | setText(4,mail_data->getDate()); | 58 | setText(4," "+mail_data->getDate()); |
59 | if ( KOPrefs::instance()->mShowToField ) | 59 | if ( KOPrefs::instance()->mShowToField ) |
60 | setText(5,mail_data->To()[0]); | 60 | setText(5,mail_data->To()[0]); |
61 | } | 61 | } |
62 | 62 | ||
63 | void MailListViewItem::storeData(const RecMailP&data) | 63 | void MailListViewItem::storeData(const RecMailP&data) |
64 | { | 64 | { |
65 | mail_data = data; | 65 | mail_data = data; |
66 | } | 66 | } |
diff --git a/kmicromail/mainwindow.cpp b/kmicromail/mainwindow.cpp index 3dde3cd..d547dda 100644 --- a/kmicromail/mainwindow.cpp +++ b/kmicromail/mainwindow.cpp | |||
@@ -372,17 +372,16 @@ void MainWindow::slotAdjustColumns() | |||
372 | mailView->setColumnWidth( 0, 10 ); | 372 | mailView->setColumnWidth( 0, 10 ); |
373 | mailView->setColumnWidth( 1, 100 ); | 373 | mailView->setColumnWidth( 1, 100 ); |
374 | mailView->setColumnWidth( 2, 100 ); | 374 | mailView->setColumnWidth( 2, 100 ); |
375 | mailView->setColumnWidth( 3, 70 ); | 375 | mailView->setColumnWidth( 3, 70 ); |
376 | mailView->setColumnWidth( 4, 180 ); | 376 | mailView->setColumnWidth( 4, 180 ); |
377 | if ( KOPrefs::instance()->mShowToField ) | 377 | if ( KOPrefs::instance()->mShowToField ) |
378 | mailView->setColumnWidth( 5, 100 ); | 378 | mailView->setColumnWidth( 5, 100 ); |
379 | mailView->setColumnAlignment( 3, AlignRight); | 379 | mailView->setColumnAlignment( 3, AlignRight); |
380 | mailView->setColumnAlignment( 4, AlignRight); | ||
381 | } | 380 | } |
382 | void MainWindow::slotAdjustColumnsWide() | 381 | void MainWindow::slotAdjustColumnsWide() |
383 | { | 382 | { |
384 | if ( !folderView->isHidden() ) | 383 | if ( !folderView->isHidden() ) |
385 | folderView->setColumnWidth( 0, folderView->visibleWidth() ); | 384 | folderView->setColumnWidth( 0, folderView->visibleWidth() ); |
386 | 385 | ||
387 | mailView->setColumnWidth( 0, 10 ); | 386 | mailView->setColumnWidth( 0, 10 ); |
388 | mailView->setColumnWidth( 1, 200 ); | 387 | mailView->setColumnWidth( 1, 200 ); |