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
KMail
Commits
ab1bd56d
Commit
ab1bd56d
authored
Nov 04, 2021
by
Laurent Montel
😁
Browse files
Use action texts for buttons of confirmation dialog
parent
af176d47
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/configuredialog/configureappearancepage.cpp
View file @
ab1bd56d
...
...
@@ -1124,7 +1124,11 @@ void AppearancePageMessageTagTab::slotRemoveTag()
const
int
tmp_index
=
mTagListBox
->
currentRow
();
if
(
tmp_index
>=
0
)
{
if
(
KMessageBox
::
Yes
==
KMessageBox
::
questionYesNo
(
this
,
i18n
(
"Do you want to remove tag
\'
%1
\'
?"
,
mTagListBox
->
item
(
mTagListBox
->
currentRow
())
->
text
())))
{
==
KMessageBox
::
questionYesNo
(
this
,
i18n
(
"Do you want to remove tag
\'
%1
\'
?"
,
mTagListBox
->
item
(
mTagListBox
->
currentRow
())
->
text
()),
i18nc
(
"@title:window"
,
"Remove Tag"
),
KStandardGuiItem
::
remove
(),
KStandardGuiItem
::
cancel
()))
{
QListWidgetItem
*
item
=
mTagListBox
->
takeItem
(
mTagListBox
->
currentRow
());
auto
tagItem
=
static_cast
<
TagListWidgetItem
*>
(
item
);
MailCommon
::
Tag
::
Ptr
tmp_desc
=
tagItem
->
kmailTag
();
...
...
src/editor/kmcomposerwin.cpp
View file @
ab1bd56d
...
...
@@ -2789,8 +2789,8 @@ void KMComposerWin::doSend(MessageComposer::MessageSender::SendMethod method, Me
i18n
(
"To: field is empty. "
"Send message anyway?"
),
i18n
(
"No To: specified"
),
K
StandardGuiItem
::
yes
(
),
K
StandardGuiItem
::
no
(
));
K
GuiItem
(
i18n
(
"S&end as Is"
)
),
K
GuiItem
(
i18n
(
"&Specify the To field"
)
));
if
(
rc
==
KMessageBox
::
No
)
{
return
;
}
...
...
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