diff --git a/common/project/project_archiver.cpp b/common/project/project_archiver.cpp index 74350eb0ce..d0e4e76d94 100644 --- a/common/project/project_archiver.cpp +++ b/common/project/project_archiver.cpp @@ -65,7 +65,6 @@ public: wxFileName package( aFilename ); package.MakeRelativeTo( m_prjDir ); package.SetExt( wxS( "pkg" ) ); - KIPLATFORM::IO::LongPathAdjustment( package ); if( package.Exists() ) addFileToZip( package.GetFullPath() ); @@ -97,7 +96,6 @@ private: wxFileSystem fsfile; wxFileName curr_fn( aFilename ); - KIPLATFORM::IO::LongPathAdjustment( curr_fn ); curr_fn.MakeRelativeTo( m_prjDir ); wxString currFilename = curr_fn.GetFullPath(); @@ -320,7 +318,6 @@ bool PROJECT_ARCHIVER::Archive( const wxString& aSrcDir, const wxString& aDestFi wxString oldCwd = wxGetCwd(); wxFileName sourceDir( aSrcDir ); - KIPLATFORM::IO::LongPathAdjustment( sourceDir ); wxSetWorkingDirectory( sourceDir.GetFullPath() ); diff --git a/common/settings/settings_manager.cpp b/common/settings/settings_manager.cpp index d1357bf24f..cbf4e229ad 100644 --- a/common/settings/settings_manager.cpp +++ b/common/settings/settings_manager.cpp @@ -1242,8 +1242,6 @@ bool SETTINGS_MANAGER::BackupProject( REPORTER& aReporter, wxFileName& aTarget ) aTarget.SetExt( FILEEXT::ArchiveFileExtension ); } - KIPLATFORM::IO::LongPathAdjustment( aTarget ); - wxString test = aTarget.GetPath(); if( !aTarget.DirExists() && !wxMkdir( aTarget.GetPath() ) )