Changeset 98 in tspsg-svn for trunk/src/tspsolver.cpp


Ignore:
Timestamp:
Mar 12, 2010, 8:28:42 PM (15 years ago)
Author:
laleppa
Message:

+ Translatable About dialog.

  • Improved installation rules in .pro file.
  • Disabled SVG and JPEG support. They aren't needed at this point.
  • Fixed a bug when labels were hardly visible under Windows Vista/7 whith translucency on and a dark background behind the application.
  • Fixed a bug when Main Window area was blank if the application was compiled using Qt < 4.6.0.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/tspsolver.cpp

    r93 r98  
    326326                        matrix[nRow][k] -= val;
    327327}
     328
     329QDebug operator<<(QDebug dbg, const TMatrix &matrix)
     330{
     331        for (int r = 0; r < matrix.count(); r++) {
     332                for (int c = 0; c < matrix.at(r).count(); c++)
     333                        dbg.space() << matrix.at(r).at(c);
     334                dbg << endl;
     335        }
     336        return dbg;
     337}
Note: See TracChangeset for help on using the changeset viewer.