[prev in list] [next in list] [prev in thread] [next in thread]
List: kwrite-devel
Subject: =?UTF-8?B?ZXJyb3I6IOKAmEdyb3VwSWRlbnRpZmllclJvbGXigJkgaXMgbm90IGEgbWVtYmVyIG9mIA==?= =?UTF-8?B?4oCYS
From: Paweł Kubik <p.kubik.dev () gmail ! com>
Date: 2014-06-24 17:36:20
Message-ID: CAHSEHL7k566+UV0UgzFns+pO8kRjX5xwR+11wp_UPct4=zvnKQ () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Newest Kate build has been interrupted with following error:
/Workspace/Kate/part/view/kateviewhelpers.cpp:1655:79: error:
‘GroupIdentifierRole' is not a member of ‘KTextEditor::AnnotationModel'
The line:
const QVariant identifier = 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:
‘KTextEditor::AnnotationModel::AAA' 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.
[Attachment #5 (text/html)]
<div dir="ltr"><div><div>Newest Kate build has been interrupted with following \
error:<br><br>/Workspace/Kate/part/view/kateviewhelpers.cpp:1655:79: error: \
‘GroupIdentifierRole' is not a member of ‘KTextEditor::AnnotationModel'<br> \
</div><div><br></div><div>The line:<br>const QVariant identifier = model->data( \
realLine, (Qt::ItemDataRole) KTextEditor::AnnotationModel::GroupIdentifierRole \
);<br></div><div><br></div>I've check and there is such enum in \
annotationinterface.h<br> </div><div>Replacing \
KTextEditor::AnnotationModel::GroupIdentifierRole with Qt::UserRole, solves the \
problem however I suppose it isn't the real solution.<br></div><div>Moreover \
adding a new struct to the AnnotationModel, and refering to it causes similar \
error:<br> /Workspace/Kate/part/view/kateviewhelpers.cpp:1654:39: error: \
‘KTextEditor::AnnotationModel::AAA' has not been declared<br><br></div><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.<br> \
</div><div><br></div><div><div><br></div></div></div>
_______________________________________________
KWrite-Devel mailing list
KWrite-Devel@kde.org
https://mail.kde.org/mailman/listinfo/kwrite-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic