Nitpick style comment: QWidget* previousPage = ...