Added the updateInfoWindow function to mainwindow.cpp.