addons for cygwin/windows
This commit is contained in:
parent
052dbe1e74
commit
025601269b
@ -29,6 +29,8 @@
|
|||||||
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
|
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
|
#include <cstdlib>
|
||||||
|
|
||||||
#include <qmessagebox.h>
|
#include <qmessagebox.h>
|
||||||
|
|
||||||
#include "PAdmin.h"
|
#include "PAdmin.h"
|
||||||
@ -237,7 +239,7 @@ PAdmin::PAdmin()
|
|||||||
// XML Parser part
|
// XML Parser part
|
||||||
QString fln = "./musrgui_startup.xml";
|
QString fln = "./musrgui_startup.xml";
|
||||||
if (!QFile::exists(fln)) {
|
if (!QFile::exists(fln)) {
|
||||||
QString path = getenv("MUSRFITPATH");
|
QString path = std::getenv("MUSRFITPATH");
|
||||||
if (path.isEmpty())
|
if (path.isEmpty())
|
||||||
path = "/home/nemu/analysis/bin";
|
path = "/home/nemu/analysis/bin";
|
||||||
fln = path + "/musrgui_startup.xml";
|
fln = path + "/musrgui_startup.xml";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user