Fix FTBFS with GCC6

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/1/head
Slávek Banko 8 years ago
parent cea270a6a2
commit 46d1f8cf4d

@ -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