OSDN Git Service
(root)
/
kde
/
Katie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34e581e
)
fix regression since af4200d0fe752e82d8012c43bf910c4a2d3879c1
author
Ivailo Monev
<xakepa10@laimg.moc>
Tue, 28 May 2019 22:13:56 +0000
(22:13 +0000)
committer
Ivailo Monev
<xakepa10@laimg.moc>
Tue, 28 May 2019 22:13:56 +0000
(22:13 +0000)
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
src/gui/widgets/qmenu.cpp
patch
|
blob
|
history
diff --git
a/src/gui/widgets/qmenu.cpp
b/src/gui/widgets/qmenu.cpp
index
506c9b7
..
efea40b
100644
(file)
--- a/
src/gui/widgets/qmenu.cpp
+++ b/
src/gui/widgets/qmenu.cpp
@@
-229,7
+229,7
@@
void QMenuPrivate::updateActionRects(const QRect &screen) const
if (action->isSeparator() || !action->isVisible() || widgetItems.contains(action))
continue;
//..and some members
- hasCheckableItems
= (!hasCheckableItems && action->isCheckable()
);
+ hasCheckableItems
|= action->isCheckable(
);
QIcon is = action->icon();
if (!is.isNull()) {
maxIconWidth = qMax<uint>(maxIconWidth, icone + 4);