Fix build failures.

icc-effect-5.14.5
Eike Hein 2013-09-02 01:28:14 +02:00
parent 1019fecdaa
commit cf48719802
1 changed files with 1 additions and 1 deletions

View File

@ -340,7 +340,7 @@ void DeclarativeView::updateQmlSource(bool force)
const bool desktopMode = (m_mode == TabBoxConfig::DesktopTabBox);
m_currentLayout = tabBox->config().layoutName();
KService::Ptr service = desktopMode ? findDesktopSwitcher() : findWindowSwitcher();
if (service.isNull()) {
if (!service) {
return;
}
if (service->property(QStringLiteral("X-Plasma-API")).toString() != QStringLiteral("declarativeappletscript")) {