~ubuntu-branches/ubuntu/quantal/kpackagekit/quantal

« back to all changes in this revision

Viewing changes to libkpackagekit/KpkDelegate.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Rohan Garg
  • Date: 2011-01-10 17:20:02 UTC
  • mfrom: (1.2.13 upstream)
  • Revision ID: james.westby@ubuntu.com-20110110172002-64acog2s0tk4iav9
Tags: 0.6.3.3-0ubuntu1
* New upstream release
  - Refresh kubuntu_06_no_automatic_updates.diff
  - Drop kubuntu_08_updates_info.diff, applied upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
406
406
    m_viewport = viewport;
407
407
}
408
408
 
409
 
QSize KpkDelegate::sizeHint(const QStyleOptionViewItem &option,
410
 
        const QModelIndex &index ) const
 
409
QSize KpkDelegate::sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index ) const
411
410
{
412
411
    int width = (index.column() == 0) ? index.data(Qt::SizeHintRole).toSize().width() : FAV_ICON_SIZE + 2 * UNIVERSAL_PADDING;
413
412
    QSize ret(KExtendableItemDelegate::sizeHint(option, index));