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
Utilities
KDebugSettings
Commits
575150fe
Commit
575150fe
authored
Aug 27, 2021
by
Laurent Montel
😁
Browse files
Fix i18n
parent
59a2566c
Pipeline
#76772
passed with stage
in 5 minutes and 25 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
src/kdebugsettingsdialog.cpp
View file @
575150fe
...
@@ -213,7 +213,7 @@ void KDebugSettingsDialog::slotSaveAsGroup()
...
@@ -213,7 +213,7 @@ void KDebugSettingsDialog::slotSaveAsGroup()
const
QString
trimmedName
=
name
.
trimmed
();
const
QString
trimmedName
=
name
.
trimmed
();
if
(
!
trimmedName
.
isEmpty
())
{
if
(
!
trimmedName
.
isEmpty
())
{
if
(
mLoadToolButton
->
groupNames
().
contains
(
trimmedName
))
{
if
(
mLoadToolButton
->
groupNames
().
contains
(
trimmedName
))
{
KMessageBox
::
error
(
this
,
i18n
(
"
%1
is already used as a group name.
\n
Please save as another name."
,
trimmedName
));
KMessageBox
::
error
(
this
,
i18n
(
"
\'
%1
\'
is already used as a group name.
\n
Please save as another name."
,
trimmedName
));
}
else
{
}
else
{
if
(
!
QDir
().
mkpath
(
groupPath
))
{
if
(
!
QDir
().
mkpath
(
groupPath
))
{
qCWarning
(
KDEBUGSETTINGS_LOG
)
<<
"Unable to create folder: "
<<
groupPath
;
qCWarning
(
KDEBUGSETTINGS_LOG
)
<<
"Unable to create folder: "
<<
groupPath
;
...
...
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