summaryrefslogtreecommitdiff
path: root/src/mainwin.cc
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2011-12-24 23:22:03 (GMT)
committerMarius Kintel <marius@kintel.net>2011-12-24 23:22:03 (GMT)
commit9293b591c720d2021be15b3bed56633d2ac17a8d (patch)
treecc1d05a3b9f6599f6bc2168fbfe8a78f2f6711d2 /src/mainwin.cc
parenta5ea98c4a499bdc534d58ecf4881d6ce435d3bd5 (diff)
Ported currentdir handling from Qt to boost filesystem
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 6ef7777..3567ddd 100644
--- a/src/mainwin.cc
+++ b/src/mainwin.cc
@@ -490,7 +490,7 @@ MainWindow::setFileName(const QString &filename)
{
if (filename.isEmpty()) {
this->fileName.clear();
- this->root_ctx.setDocumentPath(currentdir.toStdString());
+ this->root_ctx.setDocumentPath(currentdir);
setWindowTitle("OpenSCAD - New Document[*]");
}
else {
contact: Jan Huwald // Impressum