Changeset c02b4903bd in tspsg


Ignore:
Timestamp:
Jun 30, 2009, 7:22:29 PM (15 years ago)
Author:
Oleksii Serdiuk
Branches:
0.1.3.145-beta1-symbian, 0.1.4.170-beta2-bb10, appveyor, imgbot, master, readme
Children:
9b7064d770
Parents:
140912822f
Message:

Explicit braces to avoid ambiguous ‘else’.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/tspmodel.cpp

    r140912822f rc02b4903bd  
    4747QVariant CTSPModel::headerData(int section, Qt::Orientation orientation, int role) const
    4848{
    49         if (role == Qt::DisplayRole)
     49        if (role == Qt::DisplayRole) {
    5050                if (orientation == Qt::Vertical)
    5151                        return trUtf8("City %1").arg(section + 1);
    5252                else
    5353                        return trUtf8("%1").arg(section + 1);
     54        }
    5455        return QVariant();
    5556}
Note: See TracChangeset for help on using the changeset viewer.