Leftovers from earlier version using QTimer. Will remove.