From 63bdc54b329bb38e0624b6126894ff0ae248a559 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Thu, 9 Jul 2015 19:34:18 +0200 Subject: [PATCH] [tabbox] Fix loading of default layout BUG: 350029 --- tabbox/tabboxhandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tabbox/tabboxhandler.cpp b/tabbox/tabboxhandler.cpp index 30ea7608dd..6c3aa189fb 100644 --- a/tabbox/tabboxhandler.cpp +++ b/tabbox/tabboxhandler.cpp @@ -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; }