From ce884aa18c7d606e372946acb6cd98c27fd9961e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Sj=C3=B6lund?= Date: Fri, 25 Jun 2010 11:57:33 +0000 Subject: [PATCH] - Fix spelling of OMNotebook git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@5722 f25d12d1-65f4-0310-ae8a-bbce733d8d8e --- OMNotebook/OMNotebookQT4/cellapplication.cpp | 8 ++++---- OMNotebook/OMNotebookQT4/celldocument.cpp | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/OMNotebook/OMNotebookQT4/cellapplication.cpp b/OMNotebook/OMNotebookQT4/cellapplication.cpp index 839f0a39e36..ca1631567ee 100644 --- a/OMNotebook/OMNotebookQT4/cellapplication.cpp +++ b/OMNotebook/OMNotebookQT4/cellapplication.cpp @@ -183,8 +183,8 @@ namespace IAEX } // 2006-02-13 AF, create temp dir - if( !dir.exists( "OMNoteboook_tempfiles" ) ) - dir.mkdir( "OMNoteboook_tempfiles" ); + if( !dir.exists( "OMNotebook_tempfiles" ) ) + dir.mkdir( "OMNotebook_tempfiles" ); // 2005-12-17 AF, Create instance (load styles) of stylesheet // 2006-04-10 AF, use environment variable to find stylesheet.xml @@ -363,7 +363,7 @@ namespace IAEX } // 2006-02-13 AF, remove temp dir - dir.rmdir( "OMNoteboook_tempfiles" ); + dir.rmdir( "OMNotebook_tempfiles" ); } /*! @@ -432,7 +432,7 @@ namespace IAEX { // 2006-02-13 AF, store images in temp dir QDir dir; - dir.setPath( dir.absolutePath() + "/OMNoteboook_tempfiles" ); + dir.setPath( dir.absolutePath() + "/OMNotebook_tempfiles" ); QImageWriter writer( dir.absolutePath() + "/" + newImagename, "png" ); writer.setDescription( "Temporary OMNotebook image" ); diff --git a/OMNotebook/OMNotebookQT4/celldocument.cpp b/OMNotebook/OMNotebookQT4/celldocument.cpp index 6bc1a774b56..d455c231d21 100644 --- a/OMNotebook/OMNotebookQT4/celldocument.cpp +++ b/OMNotebook/OMNotebookQT4/celldocument.cpp @@ -644,7 +644,7 @@ namespace IAEX QDir dir; // 2006-02-13 AF, store images in temp dir - dir.setPath( dir.absolutePath() + "/OMNoteboook_tempfiles" ); + dir.setPath( dir.absolutePath() + "/OMNotebook_tempfiles" ); QString name; while( true )