Simple timekeeping Qt Application in C++