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
fb7dec07
Commit
fb7dec07
authored
May 19, 2021
by
Krzysztof Stokop
Browse files
message box default button update
parent
a3da7eb9
Changes
1
Hide whitespace changes
Inline
Side-by-side
addons/project/kateprojecttreeviewcontextmenu.cpp
View file @
fb7dec07
...
...
@@ -145,7 +145,7 @@ void KateProjectTreeViewContextMenu::exec(const QString &filename, const QModelI
const
QString
title
=
i18n
(
"Confirm deleting: %1"
,
path
);
const
QString
text
=
i18n
(
"Do you want to delete: %1 ?"
,
path
);
if
(
QMessageBox
::
Yes
==
QMessageBox
::
question
(
parent
,
title
,
text
,
QMessageBox
::
No
|
QMessageBox
::
Yes
,
QMessageBox
::
Yes
))
if
(
QMessageBox
::
Yes
==
QMessageBox
::
question
(
parent
,
title
,
text
,
QMessageBox
::
No
|
QMessageBox
::
Yes
,
QMessageBox
::
No
))
{
const
QList
<
KTextEditor
::
Document
*
>
openDocuments
=
KTextEditor
::
Editor
::
instance
()
->
application
()
->
documents
();
...
...
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