Q also shows his appreciation to Janeway by giving her information to help shave a few years off their return trip to Earth.
Q's assistance to Janeway involves offering her knowledge that will expedite their return trip to Earth by several years.