FS#2568 - RDocument::queryAllLayerStates() returns Qset of RLayerState::Id and not of type RLayer::Id
Andrew,
The documentation list RLayer::Id while it are RLayerState::Id that are returned.
In essence both are object IDs.
It is correct as in the associated remark: ‘Set of layer state IDs.’
The typo can be sourced back to RDocument.cpp:
https://github.com/qcad/qcad/blob/master/src/core/RDocument.cpp#L1345
QSet<RLayer::Id> RDocument::queryAllLayerStates() const {
Regards,
CVH
Loading...
Available keyboard shortcuts
- Alt + ⇧ Shift + l Login Dialog / Logout
- Alt + ⇧ Shift + a Add new task
- Alt + ⇧ Shift + m My searches
- Alt + ⇧ Shift + t focus taskid search
Tasklist
- o open selected task
- j move cursor down
- k move cursor up
Task Details
- n Next task
- p Previous task
- Alt + ⇧ Shift + e ↵ Enter Edit this task
- Alt + ⇧ Shift + w watch task
- Alt + ⇧ Shift + y Close Task
Task Editing
- Alt + ⇧ Shift + s save task