From kwrite-devel Tue Jun 24 17:36:20 2014 From: =?UTF-8?B?UGF3ZcWCIEt1Ymlr?= Date: Tue, 24 Jun 2014 17:36:20 +0000 To: kwrite-devel Subject: =?UTF-8?B?ZXJyb3I6IOKAmEdyb3VwSWRlbnRpZmllclJvbGXigJkgaXMgbm90IGEgbWVtYmVyIG9mIA==?= =?UTF-8?B?4oCYS Message-Id: X-MARC-Message: https://marc.info/?l=kwrite-devel&m=140363139311058 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============7403547927553082588==" --===============7403547927553082588== Content-Type: multipart/alternative; boundary=001a1133b16ecff94e04fc98651f --001a1133b16ecff94e04fc98651f Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Newest Kate build has been interrupted with following error: /Workspace/Kate/part/view/kateviewhelpers.cpp:1655:79: error: =E2=80=98GroupIdentifierRole=E2=80=99 is not a member of =E2=80=98KTextEdit= or::AnnotationModel=E2=80=99 The line: const QVariant identifier =3D model->data( realLine, (Qt::ItemDataRole) KTextEditor::AnnotationModel::GroupIdentifierRole ); I've check and there is such enum in annotationinterface.h Replacing KTextEditor::AnnotationModel::GroupIdentifierRole with Qt::UserRole, solves the problem however I suppose it isn't the real solution. Moreover adding a new struct to the AnnotationModel, and refering to it causes similar error: /Workspace/Kate/part/view/kateviewhelpers.cpp:1654:39: error: =E2=80=98KTextEditor::AnnotationModel::AAA=E2=80=99 has not been declared I have no idea what's going on. I didn't touch anything in the orginal code on the first run. I didn't see anyone with similar problem. --001a1133b16ecff94e04fc98651f Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Newest Kate build has been interrupted with foll= owing error:

/Workspace/Kate/part/view/kateviewhelpers.cpp:1655:79: = error: =E2=80=98GroupIdentifierRole=E2=80=99 is not a member of =E2=80=98KT= extEditor::AnnotationModel=E2=80=99

The line:
const QVariant identifier =3D model-= >data( realLine, (Qt::ItemDataRole) KTextEditor::AnnotationModel::GroupI= dentifierRole );

I've check and there is such e= num in annotationinterface.h
Replacing KTextEditor::AnnotationModel::GroupIdentifierRole with= Qt::UserRole, solves the problem however I suppose it isn't the real s= olution.
Moreover adding a new struct to the AnnotationModel,= and refering to it causes similar error:
/Workspace/Kate/part/view/kateviewhelpers.cpp:1654:39: error: =E2=80=98KTex= tEditor::AnnotationModel::AAA=E2=80=99 has not been declared

<= div>I have no idea what's going on. I didn't touch anything in the = orginal code on the first run. I didn't see anyone with similar problem= .


--001a1133b16ecff94e04fc98651f-- --===============7403547927553082588== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ KWrite-Devel mailing list KWrite-Devel@kde.org https://mail.kde.org/mailman/listinfo/kwrite-devel --===============7403547927553082588==--