~ubuntu-branches/ubuntu/quantal/kdepimlibs/quantal-proposed

« back to all changes in this revision

Viewing changes to akonadi/contact/leafextensionproxymodel.cpp

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2012-01-19 12:01:20 UTC
  • mfrom: (1.1.75)
  • Revision ID: package-import@ubuntu.com-20120119120120-yyou3lhmzdch0c50
Tags: 4:4.8.0a-0ubuntu1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
159
159
Qt::ItemFlags LeafExtensionProxyModel::flags( const QModelIndex &index ) const
160
160
{
161
161
  if ( d->mOwnIndexes.contains( index ) )
162
 
    return Qt::ItemIsEnabled|Qt::ItemIsSelectable;
 
162
    return Qt::ItemFlags( Qt::ItemIsEnabled|Qt::ItemIsSelectable );
163
163
 
164
164
  return QSortFilterProxyModel::flags( index );
165
165
}