diff options
| author | Thierry Thomas <thierry@FreeBSD.org> | 2007-01-07 22:22:41 +0000 |
|---|---|---|
| committer | Thierry Thomas <thierry@FreeBSD.org> | 2007-01-07 22:22:41 +0000 |
| commit | c0cc56810477f479d929ca5ff35fe2fa758205b8 (patch) | |
| tree | a82d3cc9374257e4939b8e30a3abd35f2889b657 /math/digitizer/files/patch-src_helpwindow.cpp | |
| parent | Add WITH_CWS knob. (diff) | |
Upgrade Engauge Digitizer to 4.0.
Changelog at
<https://sourceforge.net/project/shownotes.php?release_id=475369>.
Notes
Notes:
svn path=/head/; revision=181721
Diffstat (limited to 'math/digitizer/files/patch-src_helpwindow.cpp')
| -rw-r--r-- | math/digitizer/files/patch-src_helpwindow.cpp | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/math/digitizer/files/patch-src_helpwindow.cpp b/math/digitizer/files/patch-src_helpwindow.cpp new file mode 100644 index 000000000000..0e28d2f41034 --- /dev/null +++ b/math/digitizer/files/patch-src_helpwindow.cpp @@ -0,0 +1,43 @@ +--- ./src/helpwindow.cpp.orig Sun Oct 8 08:41:49 2006 ++++ ./src/helpwindow.cpp Sun Jan 7 22:03:39 2007 +@@ -172,7 +172,8 @@ + for ( ; it != mHistory.end(); ++it ) + history.append( *it ); + +- QFile f( QDir::currentDirPath() + "/.history" ); ++ // FreeBSD: avoid conflict with editline ++ QFile f( QDir::homeDirPath () + "/.history-digitizer" ); + f.open( IO_WriteOnly ); + QDataStream s( &f ); + s << history; +@@ -183,7 +184,7 @@ + for ( ; it2 != mBookmarks.end(); ++it2 ) + bookmarks.append( *it2 ); + +- QFile f2( QDir::currentDirPath() + "/.bookmarks" ); ++ QFile f2( QDir::homeDirPath () + "/.bookmarks-digitizer" ); + f2.open( IO_WriteOnly ); + QDataStream s2( &f2 ); + s2 << bookmarks; +@@ -295,8 +296,8 @@ + + void HelpWindow::readHistory() + { +- if ( QFile::exists( QDir::currentDirPath() + "/.history" ) ) { +- QFile f( QDir::currentDirPath() + "/.history" ); ++ if ( QFile::exists( QDir::homeDirPath () + "/.history-digitizer" ) ) { ++ QFile f( QDir::homeDirPath () + "/.history-digitizer" ); + f.open( IO_ReadOnly ); + QDataStream s( &f ); + s >> history; +@@ -308,8 +309,8 @@ + + void HelpWindow::readBookmarks() + { +- if ( QFile::exists( QDir::currentDirPath() + "/.bookmarks" ) ) { +- QFile f( QDir::currentDirPath() + "/.bookmarks" ); ++ if ( QFile::exists( QDir::homeDirPath () + "/.bookmarks-digitizer" ) ) { ++ QFile f( QDir::homeDirPath () + "/.bookmarks-digitizer" ); + f.open( IO_ReadOnly ); + QDataStream s( &f ); + s >> bookmarks; |
