~paulbrianstewart/ubuntu/oneiric/tellico/852247-Formatting-Fix

« back to all changes in this revision

Viewing changes to src/detailedlistview.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Regis Boudin
  • Date: 2008-05-23 21:28:59 UTC
  • mfrom: (0.1.14 upstream) (2.1.1 etch)
  • Revision ID: james.westby@ubuntu.com-20080523212859-n0gl4ap37xb0uj1a
Tags: 1.3.2-1
* New upstream release.
* Recommend khelpcenter for acces to the help (Closes: #478975).

Show diffs side-by-side

added added

removed removed

Lines of Context:
477
477
  if(w == 0) {
478
478
    setColumnWidthMode(col_, QListView::Maximum);
479
479
    for(QListViewItemIterator it(this); it.current(); ++it) {
480
 
      w = KMAX(it.current()->width(fontMetrics(), this, col_), w);
 
480
      w = QMAX(it.current()->width(fontMetrics(), this, col_), w);
481
481
    }
482
 
    w = KMAX(w, MIN_COL_WIDTH);
 
482
    w = QMAX(w, MIN_COL_WIDTH);
483
483
  } else {
484
484
    setColumnWidthMode(col_, QListView::Manual);
485
485
  }
571
571
 
572
572
  // width might be -1, which means set the width to maximum
573
573
  // but m_columnWidths is the cached width, so just set it to 0
574
 
  m_columnWidths.push_back(KMAX(width_, 0));
 
574
  m_columnWidths.push_back(QMAX(width_, 0));
575
575
 
576
576
  m_isDirty.push_back(true);
577
577