Commit 3a5db447 authored by Christoph Cullmann's avatar Christoph Cullmann 🐮
Browse files

ensure always some icons is around for proper alignments

parent 244b2511
......@@ -203,7 +203,9 @@ void KateOutputView::slotMessage(const QVariantMap &message)
auto categoryColumn = new QStandardItem();
categoryColumn->setText(message.value(QStringLiteral("category")).toString().trimmed());
const auto categoryIcon = message.value(QStringLiteral("categoryIcon")).value<QIcon>();
if (!categoryIcon.isNull()) {
if (categoryIcon.isNull()) {
categoryColumn->setIcon(QIcon::fromTheme(QStringLiteral("dialog-scripts")));
} else {
categoryColumn->setIcon(categoryIcon);
}
......@@ -228,6 +230,7 @@ void KateOutputView::slotMessage(const QVariantMap &message)
} else {
shouldShowOutputToolView = (m_showOutputViewForMessageType >= 4);
typeColumn->setText(i18nc("@info", "Log"));
typeColumn->setIcon(QIcon::fromTheme(QStringLiteral("dialog-messages")));
}
/**
......
Markdown is supported
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