Commit 51e0e043 authored by Valentin Fokin's avatar Valentin Fokin Committed by Allan Sandfeld Jensen
Browse files

Remove an unnecessary ContextMenu Separator


When right clicking on a simple image there would be a separator on the
top of the DefaultContextMenu. This patch fixes it by checking if the
context menu has any elements in it before adding a separator.

Change-Id: I6bbe91fdac9f49006be8cc73df1d97d34f3c2848
Reviewed-by: default avatarAllan Sandfeld Jensen <allan.jensen@qt.io>
parent 7d545f6b
Showing with 3 additions and 2 deletions
Supports Markdown
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