Changeset 14500


Ignore:
Timestamp:
Apr 18, 2015, 2:48:23 PM (6 years ago)
Author:
mikedld
Message:

Fix Qt 4 build: QGridLayout::getItemPosition () is not constant :(

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/qt/column-resizer.cc

    r14499 r14500  
    1717{
    1818  int
    19   itemColumnSpan (const QGridLayout * layout, const QLayoutItem * item)
     19  itemColumnSpan (QGridLayout * layout, const QLayoutItem * item)
    2020  {
    2121    for (int i = 0, count = layout->count (); i < count; ++i)
     
    6161{
    6262  int maxWidth = 0;
    63   for (const QGridLayout * const layout: myLayouts)
     63  for (QGridLayout * const layout: myLayouts)
    6464    {
    6565      for (int i = 0, count = layout->rowCount (); i < count; ++i)
Note: See TracChangeset for help on using the changeset viewer.