Commit 06514a3f authored by Zeno Endemann's avatar Zeno Endemann Committed by Shawn Rutledge
Browse files

Prevent removeFirst call on empty list.


The hoverItems list might get changed as a result of the sendHoverEvent
call, so it is safer to take the element out first.

Change-Id: I88c7380a2e4dd2297f9d0cfe01edc453ca525cb3
Reviewed-by: default avatarJan Arne Petersen <jan.petersen@kdab.com>
Reviewed-by: default avatarGunnar Sletta <gunnar@sletta.org>
parent 427646b8
Branches
Tags
No related merge requests found
Showing with 2 additions and 2 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment