[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdepim/kleopatra/controllers
From: Marc Mutz <mutz () kde ! org>
Date: 2008-02-14 16:37:48
Message-ID: 1203007068.643095.27775.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 775005 by mutz:
OMG - It's Qt 3 all over again.... Q{Tree,Table,List}{View,Widget} \
\setminus QListView (sic!) have setSortingEnabled(), but not \
QAbstractItemView - hurra!
M +1 -0 keylistcontroller.cpp
--- trunk/KDE/kdepim/kleopatra/controllers/keylistcontroller.cpp \
#775004:775005 @@ -223,6 +223,7 @@
view->setSelectionMode( QAbstractItemView::ExtendedSelection );
//view->setAlternatingRowColors( true );
view->setProperty( "allColumnsShowFocus", true );
+ view->setProperty( "sortingEnabled", true );
if ( QHeaderView * const hv = get_header_view( view ) )
for ( int i = 0, end = std::min<int>( hv->count(), \
AbstractKeyListModel::NumColumns ) ; i < end ; ++i )
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic