Skip to content

Commit

Permalink
- Unix compilation
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@10311 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Nov 7, 2011
1 parent e10a1de commit 7a8f508
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions OMEdit/OMEditGUI/OMCProxy.cpp
Expand Up @@ -237,8 +237,6 @@ bool OMCProxy::startServer()
#ifdef WIN32 // Win32
omcOutputFile.setFileName(QString(QDir::tempPath()).append(QDir::separator()).append("openmodelica.omc.output.").append(this->mName));
#else // UNIX environment
char *user = getenv("USER");
if (!user) { user = "nobody"; }
omcOutputFile.setFileName(QString(QDir::tempPath()).append(QDir::separator()).append("openmodelica.").append(*(new QString(user))).append(".omc.output.").append(this->mName));
#endif
omcProcess->setProcessChannelMode(QProcess::MergedChannels);
Expand Down

0 comments on commit 7a8f508

Please sign in to comment.