davidedmundson requested changes to this revision.
davidedmundson added inline comments.
This revision now requires changes to proceed.

INLINE COMMENTS

> lnflogic.cpp:85
> +
> +    QDBusPendingCallWatcher *watcher = new QDBusPendingCallWatcher(pcall, 
> this);
> +

leaks

> lnflogic.cpp:155
> +    defaultsConfigGroup = KConfigGroup(&defaultsConfigGroup, 
> "DesktopSwitcher");
> +    systemCG = 
> KConfigGroup(KSharedConfig::openConfig(QStringLiteral("kwinrc")), 
> "DesktopSwitcher");
> +    defaultsConfigGroup.writeEntry("LayoutName", 
> systemCG.readEntry("LayoutName", QStringLiteral("org.kde.breeze.desktop")));

That's the wrong group name. 
It should be TabBox.

(and if this is copy pastad from somewhere, then fix that too.)

> main.cpp:62
> +    //usually we have an ApplicationWindow here, so we do not need to create 
> a window by ourselves
> +    KDeclarative::QmlObject *obj = new KDeclarative::QmlObject();
> +    obj->setTranslationDomain(packagePath);

leaks

> main.cpp:70
> +    qmlRegisterType<LnfLogic>();
> +    qmlRegisterType<LnfListModel>();
> +

UncreatableType * 2

> main.cpp:72
> +
> +    LnfLogic *lnfLogic = new LnfLogic;
> +    obj->engine()->rootContext()->setContextProperty("lnfLogic", 
> QVariant::fromValue(lnfLogic));

leaks

REPOSITORY
  rPLASMASDK Plasma SDK

REVISION DETAIL
  https://phabricator.kde.org/D2449

EMAIL PREFERENCES
  https://phabricator.kde.org/settings/panel/emailpreferences/

To: mart, #plasma, davidedmundson
Cc: davidedmundson, plasma-devel, lesliezhai, ali-mohamed, jensreuterberg, 
abetts, sebas

Reply via email to