Changeset 5d401f2c50 in tspsg for src/mainwindow.cpp


Ignore:
Timestamp:
Apr 28, 2010, 1:38:10 AM (15 years ago)
Author:
Oleksii Serdiuk
Branches:
0.1.3.145-beta1-symbian, 0.1.4.170-beta2-bb10, appveyor, imgbot, master, readme
Children:
f2ff738751
Parents:
20015b41e7
git-author:
Oleksii Serdiuk <contacts@…> (04/28/10 01:38:10)
git-committer:
Oleksii Serdiuk <contacts@…> (06/29/12 19:41:31)
Message:

+ Added ChangeLog?, Installation Guide and License pages to doxygen generated documentation.

  • Added city and separator parameters to CTSPSolver::getSortedPath() method to make path generation more flexible.
  • Fixed a bug when the solution graph wasn't drwan correctly in some situations.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mainwindow.cpp

    r20015b41e7 r5d401f2c50  
    666666
    667667        cur.insertBlock(fmt_paragraph);
    668         cur.insertText("  " + solver.getSortedPath());
     668        cur.insertText("  " + solver.getSortedPath(tr("City %1")));
    669669
    670670        cur.insertBlock(fmt_paragraph);
     
    861861                pic.drawLine(QPointF(x, y - r), QPointF(r * 2.25, y - 2 * r));
    862862        } else if (nstep > 1) {
    863                 pic.drawLine(QPointF(x, y - r), QPointF((step->pNode->next == SStep::RightBranch) ? r * 3.5 : r, y - 2 * r));
     863                pic.drawLine(QPointF(x, y - r), QPointF((step->pNode->pNode->next == SStep::RightBranch) ? r * 3.5 : r, y - 2 * r));
    864864        }
    865865
Note: See TracChangeset for help on using the changeset viewer.