Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Education
KAlgebra
Commits
cc5f92bd
Commit
cc5f92bd
authored
Dec 10, 2020
by
Laurent Montel
😁
Browse files
operator+/- is disabled for QFlags in qt6
parent
ab144a7f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/kalgebra.cpp
View file @
cc5f92bd
...
...
@@ -264,7 +264,7 @@ KAlgebra::KAlgebra(QWidget *parent)
b_menu
->
addAction
(
KStandardAction
::
zoomIn
(
m_graph2d
,
SLOT
(
zoomIn
()),
this
));
b_menu
->
addAction
(
KStandardAction
::
zoomOut
(
m_graph2d
,
SLOT
(
zoomOut
()),
this
));
QAction
*
ac
=
KStandardAction
::
actualSize
(
m_graph2d
,
SLOT
(
resetViewport
()),
this
);
ac
->
setShortcut
(
Qt
::
ControlModifier
+
Qt
::
Key_0
);
ac
->
setShortcut
(
{
Qt
::
ControlModifier
|
Qt
::
Key_0
}
);
b_menu
->
addAction
(
ac
);
b_menu
->
addSeparator
()
->
setText
(
i18n
(
"Resolution"
));
b_actions
[
2
]
=
b_menu
->
addAction
(
i18nc
(
"@item:inmenu"
,
"Poor"
),
this
,
&
KAlgebra
::
set_res_low
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment