src/qt/overviewpage.cpp fix profit calculation