diff -r 88d558ce079d -r 0bd62e09d061 mainwindow.cpp --- a/mainwindow.cpp Tue Sep 04 13:53:33 2007 +0000 +++ b/mainwindow.cpp Tue Sep 04 13:53:33 2007 +0000 @@ -3681,7 +3681,13 @@ QStringList filters; filters <<"VYM example map (*.vym)"; QFileDialog *fd=new QFileDialog( this); - fd->setDir (QDir(vymBaseDir.path()+"/demos")); + #if defined(Q_OS_MACX) + fd->setDir (QDir("./vym.app/Contents/Resources/demos")); + #else + // default path in SUSE LINUX + fd->setDir (QDir(vymBaseDir.path()+"/demos")); + #endif + fd->setFileMode (QFileDialog::ExistingFiles); fd->setFilters (filters); fd->setCaption(vymName+ " - " +tr("Load vym example map"));