summaryrefslogtreecommitdiff
path: root/src/surface.cc
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2010-11-07 21:29:34 (GMT)
committerMarius Kintel <marius@kintel.net>2010-11-07 21:29:34 (GMT)
commite0a068a0e8678da426e1edd398feab5f4ea4d0f0 (patch)
tree5eaa05991d1652fd10692eb7410143d973db6643 /src/surface.cc
parentd310e364d14444a1a27ae2337cfb4bd0ab061113 (diff)
Refactored some QString usage in the backend to std::string
Diffstat (limited to 'src/surface.cc')
-rw-r--r--src/surface.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/surface.cc b/src/surface.cc
index 725c1b1..c1cbe07 100644
--- a/src/surface.cc
+++ b/src/surface.cc
@@ -71,7 +71,7 @@ AbstractNode *SurfaceModule::evaluate(const Context *ctx, const ModuleInstantiat
Context c(ctx);
c.args(argnames, argexpr, inst->argnames, inst->argvalues);
- node->filename = c.get_absolute_path(c.lookup_variable("file").text);
+ node->filename = c.get_absolute_path(QString::fromStdString(c.lookup_variable("file").text));
Value center = c.lookup_variable("center", true);
if (center.type == Value::BOOL) {
contact: Jan Huwald // Impressum