summaryrefslogtreecommitdiff
path: root/src/designer/src/lib/shared/qdesigner_menu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/designer/src/lib/shared/qdesigner_menu.cpp')
-rw-r--r--src/designer/src/lib/shared/qdesigner_menu.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/designer/src/lib/shared/qdesigner_menu.cpp b/src/designer/src/lib/shared/qdesigner_menu.cpp
index 47dedaa17..a9ae2d169 100644
--- a/src/designer/src/lib/shared/qdesigner_menu.cpp
+++ b/src/designer/src/lib/shared/qdesigner_menu.cpp
@@ -1086,7 +1086,6 @@ void QDesignerMenu::slotShowSubMenuNow()
} else {
// The position is not initially correct due to the unknown width,
// causing it to overlap a bit the first time it is invoked.
- const QSize menuSize = menu->size();
QPoint point = g.topLeft() - QPoint(menu->width() + 10, 0);
menu->move(mapToGlobal(point));
}