tabbox: fall back to "compact", not "informative"

Informative is being deleted in Plasma 6 because it's worse than
Compact; see
https://invent.kde.org/plasma/plasma-desktop/-/issues/63#note_592077
This commit is contained in:
Nate Graham 2023-05-05 15:55:17 +02:00
parent d2b0ed0c5a
commit 98198dc77a

View file

@ -235,7 +235,7 @@ QObject *TabBoxHandlerPrivate::createSwitcherItem()
// load default
offers = KPackage::PackageLoader::self()->findPackages(type, folderName,
[](const KPluginMetaData &data) {
return data.pluginId().compare(QStringLiteral("informative"), Qt::CaseInsensitive) == 0;
return data.pluginId().compare(QStringLiteral("compact"), Qt::CaseInsensitive) == 0;
});
if (offers.isEmpty()) {
qCDebug(KWIN_TABBOX) << "could not find default window switcher layout";