diff options
author | Larry Hajali <larryhaja@gmail.com> | 2017-05-29 22:22:48 -0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-06-03 08:00:28 +0700 |
commit | 82a484fa9641b07b2323d0329cd34b79150c5d8b (patch) | |
tree | c8eb0c4c5c2aff62dc87eb91db93693e763ee34f /graphics/qcad/qt4.patch | |
parent | cb25a44eb12cd75fdc73fff4efa670bfd14abaa5 (diff) | |
download | slackbuilds-82a484fa9641b07b2323d0329cd34b79150c5d8b.tar.gz |
graphics/qcad: Updated for version 3.17.1.1
Signed-off-by: Larry Hajali <larryhaja[at]gmail[dot]com>
Diffstat (limited to 'graphics/qcad/qt4.patch')
-rw-r--r-- | graphics/qcad/qt4.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/graphics/qcad/qt4.patch b/graphics/qcad/qt4.patch new file mode 100644 index 0000000000..dc3fa27652 --- /dev/null +++ b/graphics/qcad/qt4.patch @@ -0,0 +1,22 @@ +From 214e27993fbbadad4241b6bf4e1c5f23eea7a70d Mon Sep 17 00:00:00 2001 +From: Andrew Mustun <andrew@qcad.org> +Date: Mon, 29 May 2017 11:31:50 +0200 +Subject: [PATCH] back port to qt 4 + +--- + src/core/RBlockReferenceEntity.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/core/RBlockReferenceEntity.cpp b/src/core/RBlockReferenceEntity.cpp +index 3141aa649..9032faeb3 100644 +--- a/src/core/RBlockReferenceEntity.cpp ++++ b/src/core/RBlockReferenceEntity.cpp +@@ -417,7 +417,7 @@ void RBlockReferenceEntity::exportEntity(RExporter& e, bool preview, bool forceS + if (entity->getLayerId()==layer0Id) { + QStack<REntity*> blockRefStack = e.getBlockRefViewportStack(); + bool skip = false; +- for (int i=blockRefStack.length()-1; i>=0; i--) { ++ for (int i=blockRefStack.size()-1; i>=0; i--) { + REntity* ent = blockRefStack.at(i); + RBlockReferenceEntity* blockRef = dynamic_cast<RBlockReferenceEntity*>(ent); + if (blockRef==NULL) { |