1.1 --- a/mainwindow.cpp Sun Aug 26 12:16:26 2007 +0000
1.2 +++ b/mainwindow.cpp Tue Oct 16 09:53:22 2007 +0000
1.3 @@ -3681,7 +3681,13 @@
1.4 QStringList filters;
1.5 filters <<"VYM example map (*.vym)";
1.6 QFileDialog *fd=new QFileDialog( this);
1.7 - fd->setDir (QDir(vymBaseDir.path()+"/demos"));
1.8 + #if defined(Q_OS_MACX)
1.9 + fd->setDir (QDir("./vym.app/Contents/Resources/demos"));
1.10 + #else
1.11 + // default path in SUSE LINUX
1.12 + fd->setDir (QDir(vymBaseDir.path()+"/demos"));
1.13 + #endif
1.14 +
1.15 fd->setFileMode (QFileDialog::ExistingFiles);
1.16 fd->setFilters (filters);
1.17 fd->setCaption(vymName+ " - " +tr("Load vym example map"));