Fix FTBFS with GCC6

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 46d1f8cf4d)
r14.0.x
Slávek Banko 8 years ago
parent 638c18d003
commit d35a76fa76

@ -934,7 +934,7 @@ namespace KBibTeX
KURL backupNmm( basename + "~" + TQString::number( i - 1 ) );
if ( TDEIO::NetAccess::exists( backupNmm, true, window ) )
{
if ( !TDEIO::NetAccess::file_copy( backupNmm, backupN, -1, true, false, false ) )
if ( !TDEIO::NetAccess::file_copy( backupNmm, backupN, -1, true, false, 0 ) )
return false;
}
}
@ -945,7 +945,7 @@ namespace KBibTeX
KURL backupNmm( basename + "~" );
if ( TDEIO::NetAccess::exists( backupNmm, true, window ) )
{
if ( !TDEIO::NetAccess::file_copy( backupNmm, backupN, -1, true, false, false ) )
if ( !TDEIO::NetAccess::file_copy( backupNmm, backupN, -1, true, false, 0 ) )
return false;
}
}
@ -955,7 +955,7 @@ namespace KBibTeX
KURL backupNmm( basename );
if ( TDEIO::NetAccess::exists( backupNmm, true, window ) )
{
if ( !TDEIO::NetAccess::file_copy( backupNmm, backupN, -1, true, false, false ) )
if ( !TDEIO::NetAccess::file_copy( backupNmm, backupN, -1, true, false, 0 ) )
return false;
}
}

Loading…
Cancel
Save