The unlikely keyword is to optimize the pefetcher pipeline for the likely code path. Since all cases in notify are somehow unlikely and the likely case is the final call QApplication::notify() I am afraid it does not make sense here. 

By the way, how to use likely/unlikely with switch case?