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
Marco Bubke
flatpak-qt-creator
Commits
91853c7c
Commit
91853c7c
authored
Apr 22, 2010
by
Banana Joe
Committed by
Joerg Bornemann
Apr 22, 2010
Browse files
error message corrected in QRC editor
Reviewed-by: danimo
parent
199f6f8b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/shared/qrceditor/qrceditor.cpp
View file @
91853c7c
...
...
@@ -211,7 +211,7 @@ void QrcEditor::resolveLocationIssues(QStringList &files)
}
else
{
// Path troublesome -> query user
QMessageBox
message
(
this
);
message
.
setWindowTitle
(
tr
(
"Invalid file"
));
message
.
setWindowTitle
(
tr
(
"Invalid file
location
"
));
message
.
setIcon
(
QMessageBox
::
Warning
);
QPushButton
*
const
copyButton
=
message
.
addButton
(
tr
(
"Copy"
),
QMessageBox
::
ActionRole
);
QPushButton
*
skipButton
=
NULL
;
...
...
@@ -222,7 +222,7 @@ void QrcEditor::resolveLocationIssues(QStringList &files)
}
QPushButton
*
const
abortButton
=
message
.
addButton
(
tr
(
"Abort"
),
QMessageBox
::
RejectRole
);
message
.
setDefaultButton
(
copyButton
);
message
.
setText
(
tr
(
"The file %1 is not in a subdirectory of the resource file.
Continuing will result in an invalid resource file
."
)
message
.
setText
(
tr
(
"The file %1 is not in a subdirectory of the resource file.
You now have the option to copy this file to a valid location
."
)
.
arg
(
QDir
::
toNativeSeparators
(
file
)));
message
.
exec
();
if
(
message
.
clickedButton
()
==
skipButton
)
{
...
...
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