Changeset 14564


Ignore:
Timestamp:
Sep 27, 2015, 8:23:03 PM (5 years ago)
Author:
mikedld
Message:

#6001: Calculate header item size properly

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/qt/Utils.cc

    r14541 r14564  
    230230    QStyleOptionHeader::None;
    231231
    232   return view->style ()->sizeFromContents (QStyle::CT_HeaderSection, &option,
    233     QSize (QWIDGETSIZE_MAX, QWIDGETSIZE_MAX), view).width ();
     232  return view->style ()->sizeFromContents (QStyle::CT_HeaderSection, &option, QSize (), view).width ();
    234233}
    235234
Note: See TracChangeset for help on using the changeset viewer.