Commit a0465ad4 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix clazy warning

parent 197586f4
......@@ -142,7 +142,6 @@ void IconNode::render(Grantlee::OutputStream *stream, Grantlee::Context *c) cons
.arg(mSizeOrGroup < KIconLoader::LastGroup ?
IconSize(static_cast<KIconLoader::Group>(mSizeOrGroup))
: mSizeOrGroup)
.arg(altText.isEmpty() ? iconName : altText)
.arg(altText); // title is intentionally blank if no alt is provided
.arg(altText.isEmpty() ? iconName : altText, altText); // title is intentionally blank if no alt is provided
(*stream) << Grantlee::SafeString(html, Grantlee::SafeString::IsSafe);
}
......@@ -51,6 +51,7 @@
class IconTag : public Grantlee::AbstractNodeFactory
{
Q_OBJECT
public:
explicit IconTag(QObject *parent = Q_NULLPTR);
~IconTag();
......
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