16 break; |
16 break; |
17 } |
17 } |
18 return result; |
18 return result; |
19 } |
19 } |
20 |
20 |
21 std::vector<ModelAction> ldraw::makeUnofficial(const Model* model) |
21 std::vector<ModelAction> ldraw::makeUnofficial(const QTextDocument* model) |
22 { |
22 { |
23 std::vector<ModelAction> actions; |
23 std::vector<ModelAction> actions; |
24 constexpr int ldrawOrgLinePosition = 3; |
24 constexpr int ldrawOrgLinePosition = 3; |
25 const QTextBlock block = model->findBlockByLineNumber(ldrawOrgLinePosition); |
25 const QTextBlock block = model->findBlockByLineNumber(ldrawOrgLinePosition); |
26 if (block.isValid()) { |
26 if (block.isValid()) { |