Commit 4e76ae7d authored by Ilia Kats's avatar Ilia Kats Committed by Christoph Cullmann
Browse files

remove unnecessary icon rescaling

parent 2ca0128f
......@@ -147,7 +147,7 @@ QVariant LatexCompletionModel::data(const QModelIndex &index, int role) const
else if (index.column() == Postfix)
return completion.chars;
} else if (index.column() == Icon && role == Qt::DecorationRole) {
static const QIcon icon(QIcon::fromTheme(QStringLiteral("texcompiler")).pixmap(QSize(16, 16)));
static const QIcon icon(QIcon::fromTheme(QStringLiteral("texcompiler")));
return icon;
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