Commit 38f0814c authored by Andreas Cord-Landwehr's avatar Andreas Cord-Landwehr
Browse files

Port away from deprecated KTitleWidget::setPixmap

parent 38ffb81e
......@@ -56,7 +56,7 @@ VocabularyColumnsDialog::VocabularyColumnsDialog(KEduVocDocument *doc, QWidget *
KTitleWidget *titleWidget = new KTitleWidget(this);
titleWidget->setText(i18n("Enable/Disable the columns for each language"));
titleWidget->setPixmap(QIcon::fromTheme(QStringLiteral("view-file-columns")).pixmap(22, 22), KTitleWidget::ImageRight);
titleWidget->setIcon(QIcon::fromTheme(QStringLiteral("view-file-columns")), KTitleWidget::ImageRight);
m_box->addWidget(titleWidget, 0, 0, 1, 2);
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