From 8b9c0d28fe084e8c7912a55f29052052edcfdd6e Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 17 Jun 2015 15:33:10 +0900 Subject: Revert to .kdevelop files with entity name for project files. This resolves bug 2308. Signed-off-by: Michele Calgaro (cherry picked from commit e044c5463329652f28565dfc7de24ef8b0edaa6f) --- buildtools/custommakefiles/customprojectpart.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'buildtools/custommakefiles/customprojectpart.cpp') diff --git a/buildtools/custommakefiles/customprojectpart.cpp b/buildtools/custommakefiles/customprojectpart.cpp index c737f941..f61782ae 100644 --- a/buildtools/custommakefiles/customprojectpart.cpp +++ b/buildtools/custommakefiles/customprojectpart.cpp @@ -421,14 +421,14 @@ void CustomProjectPart::openProject( const TQString &dirName, const TQString &pr m_filelistDir = dirName; if ( TQFileInfo( m_filelistDir + "/" + projectName.lower() + - ".tdevelop.filelist" ).exists() ) + ".kdevelop.filelist" ).exists() ) { TQDir( m_filelistDir ).rename( - projectName.lower() + ".tdevelop.filelist", - projectName + ".tdevelop.filelist" ); + projectName.lower() + ".kdevelop.filelist", + projectName + ".kdevelop.filelist" ); } - TQFile f( m_filelistDir + "/" + projectName + ".tdevelop.filelist" ); + TQFile f( m_filelistDir + "/" + projectName + ".kdevelop.filelist" ); if ( f.open( IO_ReadOnly ) ) { TQTextStream stream( &f ); @@ -588,7 +588,7 @@ void CustomProjectPart::closeProject() void CustomProjectPart::saveProject() { - TQFile f( m_filelistDir + "/" + m_projectName + ".tdevelop.filelist" ); + TQFile f( m_filelistDir + "/" + m_projectName + ".kdevelop.filelist" ); if ( !f.open( IO_WriteOnly ) ) return; -- cgit v1.2.1