[tabbox] Fix loading of default layout

BUG: 350029
This commit is contained in:
Martin Gräßlin 2015-07-09 19:34:18 +02:00
parent a687a58e82
commit 63bdc54b32

View file

@ -254,7 +254,7 @@ QObject *TabBoxHandlerPrivate::createSwitcherItem(bool desktopMode)
);
if (offers.isEmpty()) {
// load default
auto offers = KPackage::PackageLoader::self()->findPackages(type, folderName,
offers = KPackage::PackageLoader::self()->findPackages(type, folderName,
[this] (const KPluginMetaData &data) {
return data.pluginId().compare(QStringLiteral("informative"), Qt::CaseInsensitive) == 0;
}