1 --- xyscanWindow.cpp.orig 2011-05-16 03:22:20.000000000 +0000
2 +++ xyscanWindow.cpp 2011-06-28 10:51:46.034524709 +0000
7 - QString path = qApp->applicationDirPath() + "/docs";
8 + QString path = "/usr/share/doc/xyscan";
11 - path = qApp->applicationDirPath() + "/../docs";
14 -#if defined(Q_OS_MAC)
15 - if (!dir.exists()) {
16 - path = qApp->applicationDirPath() + "/../Resources/docs";
21 - // For developing on Mac/Xcode only: avoids having to copy
22 - // the docs into the build substructure.
24 - if (!dir.exists()) {
25 - path = "/Users/ullrich/Documents/Projects/xyscan/docs";
28 - if (!dir.exists()) {
29 QMessageBox::warning( 0, "xyscan",
30 tr("Cannot find the directory holding the documentation (docs). "
31 "No online help will be available. "