various commits from SM4 SVN, courtesy of Glenn and Vyhd.

This commit is contained in:
AJ Kelly
2010-02-14 23:02:34 -06:00
parent 3c09722d3c
commit 75861f22a1
36 changed files with 760 additions and 120 deletions
+1 -3
View File
@@ -1645,7 +1645,7 @@ void Profile::LoadScreenshotDataFromNode( const XNode* pScreenshotData )
ss.LoadFromNode( pScreenshot );
m_vScreenshots.push_back( ss );
}
}
}
XNode* Profile::SaveScreenshotDataCreateNode() const
@@ -1878,9 +1878,7 @@ void Profile::MoveBackupToDir( RString sFromDir, RString sToDir )
RString Profile::MakeUniqueFileNameNoExtension( RString sDir, RString sFileNameBeginning )
{
FILEMAN->FlushDirCache( sDir );
//
// Find a file name for the screenshot
//
vector<RString> files;
GetDirListing( sDir + sFileNameBeginning+"*", files, false, false );
sort( files.begin(), files.end() );