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
6266dc6d
Commit
6266dc6d
authored
Aug 07, 2022
by
Pablo Rauzy
Committed by
Christoph Cullmann
Aug 14, 2022
Browse files
simplify save macro dialog texts
parent
a0eacc5e
Changes
1
Hide whitespace changes
Inline
Side-by-side
addons/keyboardmacros/keyboardmacrosplugin.cpp
View file @
6266dc6d
...
...
@@ -386,12 +386,8 @@ void KeyboardMacrosPlugin::slotSave()
return
;
}
bool
ok
;
QString
name
=
QInputDialog
::
getText
(
m_mainWindow
->
window
(),
i18n
(
"Save Macro"
),
i18n
(
"Under which name should the current macro be saved?"
),
QLineEdit
::
Normal
,
QStringLiteral
(
""
),
&
ok
);
QString
name
=
QInputDialog
::
getText
(
m_mainWindow
->
window
(),
i18n
(
"Keyboard Macros"
),
i18n
(
"Save current macro as?"
),
QLineEdit
::
Normal
,
QStringLiteral
(
""
),
&
ok
);
if
(
!
ok
||
name
.
isEmpty
())
{
return
;
}
...
...
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