Commit 1ec35460 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Port deprecated IconSize

parent d959156b
......@@ -243,7 +243,8 @@ HighscoresDialog::HighscoresDialog(int rank, QWidget *parent)
QString icon = internal->manager.gameTypeLabel(i, Manager::Icon);
HighscoresWidget *hsw = new HighscoresWidget(nullptr);
KPageWidgetItem *pageItem = new KPageWidgetItem( hsw, title);
const int iconSize = style()->pixelMetric(QStyle::PM_ToolBarIconSize);
// pageItem->setIcon( QIcon( BarIcon(icon, KIconLoader::SizeLarge) ) );
addPage( pageItem );
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