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
402b364e
Commit
402b364e
authored
Apr 29, 2010
by
Friedemann Kleint
Browse files
tr()-glitch.
parent
281494a3
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/qmldesigner/core/exceptions/invalidargumentexception.cpp
View file @
402b364e
...
...
@@ -29,7 +29,7 @@
#include
"invalidargumentexception.h"
#include
<QString>
#include
<QCoreApplication>
/*!
\class QmlDesigner::InvalidArgumentException
\ingroup CoreExceptions
...
...
@@ -57,7 +57,7 @@ InvalidArgumentException::InvalidArgumentException(int line,
QString
InvalidArgumentException
::
description
()
const
{
if
(
function
()
==
"createNode"
)
return
Q
String
(
QObject
::
tr
(
"Failed to create item of type %1"
)
)
.
arg
(
m_argument
);
return
Q
CoreApplication
::
translate
(
"QmlDesigner::InvalidArgumentException"
,
"Failed to create item of type %1"
).
arg
(
m_argument
);
return
Exception
::
description
();
}
...
...
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