anthonyfieroni added a comment.

  In D10587#207885 <https://phabricator.kde.org/D10587#207885>, @lukedashjr 
wrote:
  
  > I don't think I would know how to make these changes. I was only able to 
get this to work because it was mostly a simple revert.
  
  
  It should be same: at 
https://phabricator.kde.org/source/kate/browse/master/kate/katedocmanager.cpp;2641fc835e5fecb539122dcfbee1caa42617ebe4$89
  
    qRegisterMetaType<KTextEditor::Document*>("KTextEditor::Document*");
    new DocumentAdaptor(doc);
    const QString pathName = 
QString::fromLatin1("/Kate/Document/%1").arg(++dbusDocumentNumber);
    QDBusConnection::sessionBus().registerObject(pathName, doc, 
QDBusConnection::ExportAdaptors | QDBusConnection::ExportScriptableSlots);
  
  Other is same.

REPOSITORY
  R39 KTextEditor

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

To: lukedashjr, cullmann, dhaumann, gregormi
Cc: anthonyfieroni, #ktexteditor, #kate, asturmlechner, gregormi, dhaumann, 
cullmann, #frameworks, michaelh, kevinapavew, ngraham, demsking, head7, kfunk, 
sars

Reply via email to