Diffstat (limited to 'core/pim/osearch/olistview.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | core/pim/osearch/olistview.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/core/pim/osearch/olistview.cpp b/core/pim/osearch/olistview.cpp index 06392ba..e678d63 100644 --- a/core/pim/osearch/olistview.cpp +++ b/core/pim/osearch/olistview.cpp @@ -12,5 +12,5 @@ #include "olistviewitem.h" #include <qmessagebox.h> - +#include <qpe/qpeapplication.h> OListView::OListView(QWidget *parent, const char *name ) @@ -19,5 +19,7 @@ OListView::OListView(QWidget *parent, const char *name ) setRootIsDecorated( true ); - addColumn(tr("Results")); + addColumn(tr("Results"),qApp->desktop()->width() - 9 ); + //setColumnWidthMode(0, Manual); + setSorting( -1 ); connect( this, SIGNAL(expanded(QListViewItem*)), SLOT(expand(QListViewItem*))); |