Commit 402b364e authored by Friedemann Kleint's avatar Friedemann Kleint
Browse files


parent 281494a3
......@@ -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 QString(QObject::tr("Failed to create item of type %1")).arg(m_argument);
return QCoreApplication::translate("QmlDesigner::InvalidArgumentException", "Failed to create item of type %1").arg(m_argument);
return Exception::description();
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment