diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2012-11-04 01:24:38 -0600 |
---|---|---|
committer | Darrell Anderson <humanreadable@yahoo.com> | 2012-11-04 01:24:38 -0600 |
commit | 7ccec9def581eca60cd30bbcd6bda08024d81879 (patch) | |
tree | 0fce00f68c063d8d9ad6e4986a3dd76a9819cae5 /languages | |
parent | 2440b621ccc596299855abed364df856be8afe3a (diff) | |
download | tdevelop-7ccec9def581eca60cd30bbcd6bda08024d81879.tar.gz tdevelop-7ccec9def581eca60cd30bbcd6bda08024d81879.zip |
Fix references to user profile directory.
Diffstat (limited to 'languages')
-rw-r--r-- | languages/cpp/cppsupportpart.cpp | 2 | ||||
-rw-r--r-- | languages/java/javasupportpart.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/languages/cpp/cppsupportpart.cpp b/languages/cpp/cppsupportpart.cpp index 204b5a69..4f0f19d6 100644 --- a/languages/cpp/cppsupportpart.cpp +++ b/languages/cpp/cppsupportpart.cpp @@ -2101,7 +2101,7 @@ bool CppSupportPart::isValidSource( const TQString& fileName ) const return /*project() && project() ->isProjectFile( path ) &&*/ ( isSource( path ) || isHeader( path ) ) - && !TQFile::exists( fileInfo.dirPath( true ) + "/.kdev_ignore" ); + && !TQFile::exists( fileInfo.dirPath( true ) + "/.tdev_ignore" ); } TQString CppSupportPart::formatModelItem( const CodeModelItem *item, bool shortDescription ) diff --git a/languages/java/javasupportpart.cpp b/languages/java/javasupportpart.cpp index 5e936422..4d7025e8 100644 --- a/languages/java/javasupportpart.cpp +++ b/languages/java/javasupportpart.cpp @@ -787,7 +787,7 @@ void JavaSupportPart::removeWithReferences( const TQString & fileName ) bool JavaSupportPart::isValidSource( const TQString& fileName ) const { TQFileInfo fileInfo( fileName ); - return fileExtensions().contains( fileInfo.extension() ) && !TQFile::exists(fileInfo.dirPath(true) + "/.kdev_ignore"); + return fileExtensions().contains( fileInfo.extension() ) && !TQFile::exists(fileInfo.dirPath(true) + "/.tdev_ignore"); } TQString JavaSupportPart::formatModelItem( const CodeModelItem *item, bool shortDescription ) |