Update statisticspage.cpp

Fix for linux-qt