diff options
-rw-r--r-- | src/dxfdata.h | 2 | ||||
-rw-r--r-- | src/mainwin.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/dxfdata.h b/src/dxfdata.h index bada031..d24541c 100644 --- a/src/dxfdata.h +++ b/src/dxfdata.h @@ -30,7 +30,7 @@ public: } }; - std::vector<Vector2d> points; + std::vector<Vector2d, Eigen::aligned_allocator<Vector2d> > points; std::vector<Path> paths; std::vector<Dim> dims; diff --git a/src/mainwin.cc b/src/mainwin.cc index 56502f2..51e85e7 100644 --- a/src/mainwin.cc +++ b/src/mainwin.cc @@ -1728,7 +1728,7 @@ void MainWindow::dropEvent(QDropEvent *event) for (int i = 0; i < urls.size(); i++) { if (urls[i].scheme() != "file") continue; - openFile(urls[i].path()); + openFile(urls[i].toLocalFile()); } clearCurrentOutput(); } |