Skip to content
Snippets Groups Projects
Commit f5672533 authored by Marco Biasini's avatar Marco Biasini
Browse files

fix path to example directory on MacOS X

parent 851f72e3
No related branches found
No related tags found
No related merge requests found
...@@ -81,6 +81,7 @@ FileBrowser::FileBrowser(QWidget* parent): ...@@ -81,6 +81,7 @@ FileBrowser::FileBrowser(QWidget* parent):
if (QDir(example_path).exists()) { if (QDir(example_path).exists()) {
path=example_path; path=example_path;
} else{ } else{
dir.cdUp();
dir.cdUp(); dir.cdUp();
example_path=dir.path()+"/examples"; example_path=dir.path()+"/examples";
if (QDir(example_path).exists()) { if (QDir(example_path).exists()) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment