Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Utilities
Kate
Commits
964c7c06
Commit
964c7c06
authored
Sep 24, 2021
by
Fabian Kosmale
Committed by
Christoph Cullmann
Oct 09, 2021
Browse files
Shortened action text
parent
996995cf
Pipeline
#87437
passed with stage
in 2 minutes and 48 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
addons/lspclient/lspclientpluginview.cpp
View file @
964c7c06
...
...
@@ -2325,7 +2325,7 @@ public:
auto
docDiagItem
=
dynamic_cast
<
DocumentDiagnosticItem
*>
(
item
);
if
(
diagItem
)
{
auto
diagText
=
index
.
data
().
toString
();
menu
->
addAction
(
QIcon
::
fromTheme
(
QLatin1String
(
"edit-copy"
)),
i18n
(
"Copy
Diagnostic
to Clipboard"
),
[
diagText
]()
{
menu
->
addAction
(
QIcon
::
fromTheme
(
QLatin1String
(
"edit-copy"
)),
i18n
(
"Copy to Clipboard"
),
[
diagText
]()
{
QClipboard
*
clipboard
=
QGuiApplication
::
clipboard
();
clipboard
->
setText
(
diagText
);
});
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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