summaryrefslogtreecommitdiff
path: root/src/CSGTermEvaluator.cc
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2011-09-03 04:30:48 (GMT)
committerMarius Kintel <marius@kintel.net>2011-09-03 04:30:48 (GMT)
commitacfd1e1b19eeffc62f66f9ff52605303fd0eb2d5 (patch)
tree5d23bd8744d23d6f9542c0d03b5048fdb8a141cf /src/CSGTermEvaluator.cc
parent6f632190a05417d44193e3b16a7b3000b2cc1145 (diff)
More de-Qt-ify
Diffstat (limited to 'src/CSGTermEvaluator.cc')
-rw-r--r--src/CSGTermEvaluator.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/CSGTermEvaluator.cc b/src/CSGTermEvaluator.cc
index aaf96ef..b75babe 100644
--- a/src/CSGTermEvaluator.cc
+++ b/src/CSGTermEvaluator.cc
@@ -90,7 +90,9 @@ static CSGTerm *evaluate_csg_term_from_ps(const State &state,
const ModuleInstantiation *modinst,
const AbstractPolyNode &node)
{
- CSGTerm *t = new CSGTerm(ps, state.matrix(), state.color(), QString("%1%2").arg(node.name().c_str()).arg(node.index()));
+ std::stringstream stream;
+ stream << node.name() << node.index();
+ CSGTerm *t = new CSGTerm(ps, state.matrix(), state.color(), stream.str());
if (modinst->tag_highlight)
highlights.push_back(t->link());
if (modinst->tag_background) {
contact: Jan Huwald // Impressum