Skip to content

Commit

Permalink
- Use $TEMP/OpenModelica/ as tmp-dir instead of OMShell/ OMNotebook/
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@8133 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Mar 7, 2011
1 parent 2cb3e64 commit c1dc777
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OMNotebook/OMNotebookGUI/cellapplication.cpp
Expand Up @@ -188,7 +188,7 @@ namespace IAEX
OmcInteractiveEnvironment *env = OmcInteractiveEnvironment::getInstance();
QString getTempStr = "getTempDirectoryPath()";
env->evalExpression( getTempStr );
QString tmpDir = env->getResult()+"/OMNotebook/";
QString tmpDir = env->getResult()+"/OpenModelica/";
tmpDir.remove("\"");
if (!QDir().exists(tmpDir)) QDir().mkdir(tmpDir);
tmpDir = QDir(tmpDir).canonicalPath();
Expand Down

0 comments on commit c1dc777

Please sign in to comment.