Commit Graph

15 Commits

Author SHA1 Message Date
gitlost 7e44bbdc06 New FileUtil::makeRelativeIfInDir func; label parser_3 barcode map; unit tests 2019-08-26 03:00:32 +01:00
gitlost 6ab3a12b92 Share Model merge; Merge initializers; undo/redo descs (#65)
- use "shared" pointer between Model and undo/redo instances
- adds missing initializers to Merge and Text classes
- adds checkpoints for mouse resize, barcode, and image reset.
- renames the position dialog checkpoint from Move -> Position to differentiate it from a mouse move.
- adds the Undo/Redo action descriptions to the menu items.
- adds unit tests for the Merge and Model change, and for ColorNode, RawText and TextNode.
2019-07-20 14:41:01 -04:00
Jim Evins ea4099a57d Removed call to deprecated QRcode_clearCache().
QRcode_clearCache has been deprecated in libqrencode 4.0.  In previous versions,
it was only necessary to help debug memory leaks.  So it should be harmless
to remove this call.
2019-07-07 16:16:23 -04:00
Yuri Chornoivan 76c370bf52 Fix minor typos (#37) 2018-11-13 19:01:14 -05:00
Jim Evins c7c97178ca Explicitly check QFile::open() return value. 2018-01-02 03:32:28 -05:00
Jim Evins ff003e5b17 Use range-based loops when possible. 2017-12-30 22:09:48 -05:00
Jim Evins 9a135f8971 Use auto to reduce some verbosity. 2017-12-30 21:41:02 -05:00
Jim Evins c7a6ed4917 Remove unnecessary typedefs or replace with using. 2017-12-30 18:42:26 -05:00
Jim Evins b11754462f Replace trivial constructors and destructors with defaults. 2017-12-30 17:43:03 -05:00
Jim Evins 7a8159c554 Removed redundant void. 2017-12-29 20:35:41 -05:00
Jim Evins 0edea79495 Use nullptr instead of NULL. Use cstdint instead of stdint.h. 2017-12-29 19:51:46 -05:00
Jim Evins c6c52a8895 Minor code cleanup. 2017-11-25 16:54:37 -05:00
Jim Evins c9f2b91daf Removed C++17 nested namespace definitions. Should build on trusty again. 2017-11-24 15:49:26 -05:00
Jim Evins 4821e103bc CMake 3.2 does not support cxx_std_11 target_compile_feature. 2017-11-23 22:52:13 -05:00
Jim Evins b8ee5e1f73 Restructuring directory layout. Move towards "Modern CMake" usage. 2017-11-23 22:15:24 -05:00