src/ldrawalgorithm.cpp

changeset 338
719b909a7d2b
parent 336
e07425ac5834
equal deleted inserted replaced
337:5bb26aa33ad5 338:719b909a7d2b
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()) {

mercurial