aboutsummaryrefslogtreecommitdiffstats
path: root/shibokengenerator.cpp
diff options
context:
space:
mode:
authorHugo Lima <hugo.lima@openbossa.org>2010-02-03 16:21:38 -0200
committerHugo Lima <hugo.lima@openbossa.org>2010-02-03 16:37:15 -0200
commit17ff35fce3df1b4e52758aaf017cc0261f48deca (patch)
treef304964f58d2b3e2705870bc935a150dfb96184b /shibokengenerator.cpp
parentdfa2689d3868fe37f7142367fbcea426f3772dbd (diff)
Fix indentation problems on code injections.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org> and Renato Araújo <renato.filho@openbossa.org>
Diffstat (limited to 'shibokengenerator.cpp')
-rw-r--r--shibokengenerator.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/shibokengenerator.cpp b/shibokengenerator.cpp
index af1f22d30..1b4d6e9e8 100644
--- a/shibokengenerator.cpp
+++ b/shibokengenerator.cpp
@@ -34,7 +34,6 @@
#define RETURN_VALUE_HEURISTIC "enable-return-value-heuristic"
#define ENABLE_PYSIDE_EXTENSIONS "enable-pyside-extensions"
-static Indentor INDENT;
//static void dumpFunction(AbstractMetaFunctionList lst);
QHash<QString, QString> ShibokenGenerator::m_pythonPrimitiveTypeName = QHash<QString, QString>();
@@ -800,7 +799,6 @@ void ShibokenGenerator::writeCodeSnips(QTextStream& s,
QString code;
QTextStream tmpStream(&code);
- Indentation indent1(INDENT);
formatCode(tmpStream, snip.code(), INDENT);
if (context) {