summaryrefslogtreecommitdiffstats
path: root/src/gui/graphicsview/qsimplex_p.cpp
diff options
context:
space:
mode:
authorJan-Arve Sæther <jan-arve.saether@nokia.com>2009-10-07 08:51:26 (GMT)
committerJan-Arve Sæther <jan-arve.saether@nokia.com>2009-10-07 08:51:26 (GMT)
commitd6d0b2ef5223b4a40e8907104eb1d9e827507a42 (patch)
treed58cba2b06f34edd4c85375fb4d84af20192f8fe /src/gui/graphicsview/qsimplex_p.cpp
parent709cc9140407280aa5c871d4650c123002dfdd19 (diff)
downloadQt-d6d0b2ef5223b4a40e8907104eb1d9e827507a42.zip
Qt-d6d0b2ef5223b4a40e8907104eb1d9e827507a42.tar.gz
Qt-d6d0b2ef5223b4a40e8907104eb1d9e827507a42.tar.bz2
Cosmetic fixes to the previous patches.
There is only one change in the actual code here, and it simply removes an unnecessary initialization of hasSize in the ctors of the composite anchors.
Diffstat (limited to 'src/gui/graphicsview/qsimplex_p.cpp')
-rw-r--r--src/gui/graphicsview/qsimplex_p.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/graphicsview/qsimplex_p.cpp b/src/gui/graphicsview/qsimplex_p.cpp
index 95003d2..b8f8fb4 100644
--- a/src/gui/graphicsview/qsimplex_p.cpp
+++ b/src/gui/graphicsview/qsimplex_p.cpp
@@ -519,11 +519,11 @@ qreal QSimplex::solver(solverFactor factor)
solveMaxHelper();
collectResults();
- #ifdef QT_DEBUG
+#ifdef QT_DEBUG
for (int i = 0; i < constraints.size(); ++i) {
Q_ASSERT(constraints[i]->isSatisfied());
}
- #endif
+#endif
return factor * valueAt(0, columns - 1);
}