mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 00:14:06 +00:00
*! It may now be able to compile under Windows.
This commit is contained in:
parent
ac340ba98f
commit
cdd2321601
|
@ -995,7 +995,7 @@ void save( Class const & c ) throw( exError )
|
|||
QVector< wchar_t > destFileW( destFile.size() + 1 );
|
||||
destFileW[ destFile.toWCharArray( destFileW.data() ) ] = 0;
|
||||
|
||||
if ( !MoveFileExW( srcFile.data(), destFile.data(), MOVEFILE_REPLACE_EXISTING ) )
|
||||
if ( !MoveFileExW( srcFileW.data(), destFileW.data(), MOVEFILE_REPLACE_EXISTING ) )
|
||||
throw exCantWriteConfigFile();
|
||||
#else
|
||||
|
||||
|
|
Loading…
Reference in a new issue