qdoc: Removed setting of codeindent variable
authorMartin Smith <martin.smith@digia.com>
Wed, 7 Nov 2012 12:17:30 +0000 (13:17 +0100)
committerMartin Smith <martin.smith@digia.com>
Wed, 7 Nov 2012 13:08:14 +0000 (14:08 +0100)
commit3b78aa72c736b856f739123b125fdb36e9160fee
tree6c9782268fed3d8a57b38dfb3bcd2f0a047415ec
parent3c9312453680b600a0404b324be63f81ecc6bc33
qdoc: Removed setting of codeindent variable

All the qdocconf files in use for Qt 5.0 set the
codeindent variable to 1, which prefixes each line
of a snippet with one ' '. But this messes up the
cutting and pasting of snippets into editors for
actual use. qdoc now lets the codeindent variable
be initialized to 0, and then it never changes it.
This looks ok in the default formatted html output.
If the html output formatted with the template CSS
files also looks ok, then the codeindent variable
can be removed from all the qdocconf files, since
it will no longer be used by qdoc.

Task number: QTBUG-27798

Change-Id: I398c57bdfc99e747ec086fbd8ddf5994cf3ee6d5
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
src/tools/qdoc/ditaxmlgenerator.cpp
src/tools/qdoc/htmlgenerator.cpp