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
PIM
Akonadi Contacts
Commits
ed0ec2a8
Commit
ed0ec2a8
authored
Dec 08, 2020
by
Laurent Montel
😁
Browse files
operator+/- is disabled for QFlags in qt6
parent
38f045e5
Pipeline
#43370
passed with stage
in 17 minutes and 22 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/akonadi-contacts/standardcontactactionmanager.cpp
View file @
ed0ec2a8
...
...
@@ -579,7 +579,7 @@ QAction *StandardContactActionManager::createAction(Type type)
action
->
setWhatsThis
(
i18n
(
"Create a new contact<p>You will be presented with a dialog where you can add data about a person, including addresses and phone numbers.</p>"
));
d
->
mActions
.
insert
(
CreateContact
,
action
);
d
->
mActionCollection
->
addAction
(
QStringLiteral
(
"akonadi_contact_create"
),
action
);
d
->
mActionCollection
->
setDefaultShortcut
(
action
,
QKeySequence
(
Qt
::
CTRL
+
Qt
::
Key_N
));
d
->
mActionCollection
->
setDefaultShortcut
(
action
,
QKeySequence
(
Qt
::
CTRL
|
Qt
::
Key_N
));
connect
(
action
,
&
QAction
::
triggered
,
this
,
[
this
]()
{
d
->
slotCreateContact
();
});
...
...
@@ -591,7 +591,7 @@ QAction *StandardContactActionManager::createAction(Type type)
action
->
setWhatsThis
(
i18n
(
"Create a new group<p>You will be presented with a dialog where you can add a new group of contacts.</p>"
));
d
->
mActions
.
insert
(
CreateContactGroup
,
action
);
d
->
mActionCollection
->
addAction
(
QStringLiteral
(
"akonadi_contact_group_create"
),
action
);
d
->
mActionCollection
->
setDefaultShortcut
(
action
,
QKeySequence
(
Qt
::
CTRL
+
Qt
::
Key_G
));
d
->
mActionCollection
->
setDefaultShortcut
(
action
,
QKeySequence
(
Qt
::
CTRL
|
Qt
::
Key_G
));
connect
(
action
,
&
QAction
::
triggered
,
this
,
[
this
]()
{
d
->
slotCreateContactGroup
();
});
...
...
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