diff options
author | Marius Kintel <marius@kintel.net> | 2011-12-24 23:22:03 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2011-12-24 23:22:03 (GMT) |
commit | 9293b591c720d2021be15b3bed56633d2ac17a8d (patch) | |
tree | cc1d05a3b9f6599f6bc2168fbfe8a78f2f6711d2 /src/mainwin.cc | |
parent | a5ea98c4a499bdc534d58ecf4881d6ce435d3bd5 (diff) |
Ported currentdir handling from Qt to boost filesystem
Diffstat (limited to 'src/mainwin.cc')
-rw-r--r-- | src/mainwin.cc | 2 |
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 { |