Commit 2a0b2f2b authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧 Committed by Aleix Pol Gonzalez
Browse files

UserInfo: Fix initialization error

The iconName is a string, not a QIcon

(cherry picked from commit 1df10772)
parent 097845bc
Pipeline #183568 passed with stage
in 1 minute and 36 seconds
......@@ -38,7 +38,7 @@ UserInfoDialog::UserInfoDialog(const QString &reason, QObject *parent)
if (QFileInfo::exists(m_userInterface->iconFile())) {
props.insert(QStringLiteral("iconName"), m_userInterface->iconFile());
} else {
props.insert(QStringLiteral("iconName"), QIcon::fromTheme(QStringLiteral("user-identity")));
props.insert(QStringLiteral("iconName"), QStringLiteral("user-identity"));
create("qrc:/UserInfoDialog.qml", props);
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