Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Unmaintained
KDE Pim
Commits
a64adaf2
Commit
a64adaf2
authored
Nov 16, 2014
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reduce menu size as discussed with David
parent
9d79a34a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
5 deletions
+9
-5
messagecomposer/attachment/attachmentcontrollerbase.cpp
messagecomposer/attachment/attachmentcontrollerbase.cpp
+9
-5
No files found.
messagecomposer/attachment/attachmentcontrollerbase.cpp
View file @
a64adaf2
...
...
@@ -563,11 +563,15 @@ void AttachmentControllerBase::showContextMenu()
menu
->
addAction
(
d
->
propertiesContextAction
);
}
const
int
nbAttachment
=
d
->
model
->
rowCount
();
if
(
nbAttachment
!=
numberOfParts
)
{
menu
->
addSeparator
();
menu
->
addAction
(
d
->
selectAllAction
);
}
if
(
numberOfParts
==
0
)
{
menu
->
addSeparator
();
menu
->
addAction
(
d
->
addContextAction
);
}
menu
->
exec
(
QCursor
::
pos
()
);
delete
menu
;
}
...
...
Write
Preview
Markdown
is supported
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