summaryrefslogtreecommitdiffstats
path: root/src/gui/graphicsview/qgraphicsanchorlayout_p.h
diff options
context:
space:
mode:
authorCaio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>2009-10-07 22:34:09 (GMT)
committerCaio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>2009-10-09 14:18:42 (GMT)
commitcce279d015ccf19200153b43b7f378e25d0913d3 (patch)
tree01f7e95533fdd108b1ed2b93225c861af2c8cbb5 /src/gui/graphicsview/qgraphicsanchorlayout_p.h
parentefb50541b57191e3fcfc8dac5a8e8a21658b75b1 (diff)
downloadQt-cce279d015ccf19200153b43b7f378e25d0913d3.zip
Qt-cce279d015ccf19200153b43b7f378e25d0913d3.tar.gz
Qt-cce279d015ccf19200153b43b7f378e25d0913d3.tar.bz2
QGAL: improve dump graph and add helper code
The graph dumper function take a name, and added debug code (that need to be enabled manually) to generate dumps from the graph before and after calculation. This is useful to debug simplification. Signed-off-by: Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org> Reviewed-by: Artur Duque de Souza <artur.souza@openbossa.org>
Diffstat (limited to 'src/gui/graphicsview/qgraphicsanchorlayout_p.h')
-rw-r--r--src/gui/graphicsview/qgraphicsanchorlayout_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/graphicsview/qgraphicsanchorlayout_p.h b/src/gui/graphicsview/qgraphicsanchorlayout_p.h
index 24b25de..ea19ecb 100644
--- a/src/gui/graphicsview/qgraphicsanchorlayout_p.h
+++ b/src/gui/graphicsview/qgraphicsanchorlayout_p.h
@@ -478,7 +478,7 @@ public:
bool hasConflicts() const;
#ifdef QT_DEBUG
- void dumpGraph();
+ void dumpGraph(const QString &name = QString());
#endif