ivan added a comment.

  @mart
  
  The reason why this change fixes the scripting problem I'm working on is that 
loadLayout actually calls loadDefaultLayout and this tells the scripting engine 
which activities exist, and which are present. That is why adding this above 
loadLayout was working to fix the scripting problem:
  
    QStringList existingActivities = m_activityController->activities();
    foreach (const QString &id, existingActivities) {
        qDebug() << "Corona GREPME: Init activities";
        activityAdded(id);
    }

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

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

To: mart, #plasma
Cc: ivan, abondrov, davidedmundson, plasma-devel, jensreuterberg, abetts, sebas
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel

Reply via email to