[kcms/icons] Don't offer to set desktop icon size

This is confusing since desktop icon sizes are set directly in the
desktop containment config window, and changing the desktop icon size in
this KCM has no visible effect at all. Let's not show it at all.

BUG: 429138
FIXED-IN: 5.21
wilder-5.22
Nate Graham 5 years ago
parent 3b218117f0
commit e12f76f54f
  1. 1
      kcms/icons/iconsizecategorymodel.cpp

@ -23,7 +23,6 @@
IconSizeCategoryModel::IconSizeCategoryModel(QObject *parent)
: QAbstractListModel(parent)
, m_data({
{QStringLiteral("desktopSize"), I18N_NOOP("Desktop"), QStringLiteral("Desktop"), KIconLoader::Desktop},
{QStringLiteral("toolbarSize"), I18N_NOOP("Toolbar"), QStringLiteral("Toolbar"), KIconLoader::Toolbar},
{QStringLiteral("mainToolbarSize"), I18N_NOOP("Main Toolbar"), QStringLiteral("MainToolbar"), KIconLoader::MainToolbar},
{QStringLiteral("smallSize"), I18N_NOOP("Small Icons"), QStringLiteral("Small"), KIconLoader::Small},

Loading…
Cancel
Save