Skip to content

Commit

Permalink
- The Corba IOR file was not picked up on MAC OSX because the path fo…
Browse files Browse the repository at this point in the history
…r temp directory is hard coded. Using QDir::tempPath() now to get the temp directory path.

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@7637 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
adeas31 committed Jan 4, 2011
1 parent b571b7f commit 3e6c6a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OMNotebook/OMNotebookQT4/omc_communicator.cpp
Expand Up @@ -164,7 +164,7 @@ bool OmcCommunicator::establishConnection()
char *user = getenv("USER");
if (!user) { user = "nobody"; }

objectRefFile.setFileName("/tmp/openmodelica." + *(new QString(user)) + ".objid");
objectRefFile.setFileName(QDir::tempPath() + QDir::separator() + "openmodelica." + *(new QString(user)) + ".objid");

#endif

Expand Down

0 comments on commit 3e6c6a1

Please sign in to comment.