summaryrefslogtreecommitdiff
path: root/src/mainwin.cc
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2011-09-03 22:03:16 (GMT)
committerMarius Kintel <marius@kintel.net>2011-09-03 22:03:16 (GMT)
commit821c7df1fe34006ebeb0150cc0a166563d583f25 (patch)
tree3b1891b404583cea57ee4f7f4e17c625f671bfff /src/mainwin.cc
parenta5b03ddcf9026dbc60881572419f096ba9ecadab (diff)
Extracted handle_dep() to separate source file
Diffstat (limited to 'src/mainwin.cc')
-rw-r--r--src/mainwin.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainwin.cc b/src/mainwin.cc
index 4b5ba89..30738d2 100644
--- a/src/mainwin.cc
+++ b/src/mainwin.cc
@@ -667,7 +667,7 @@ void MainWindow::compile(bool procevents)
// Parse
this->last_compiled_doc = editor->toPlainText();
this->root_module = parse((this->last_compiled_doc + "\n" +
- commandline_commands).toAscii().data(),
+ QString::fromStdString(commandline_commands)).toAscii().data(),
this->fileName.isEmpty() ?
"" :
QFileInfo(this->fileName).absolutePath().toLocal8Bit(),
contact: Jan Huwald // Impressum