static instance() method removal, header guards patches
Boris Barbulovski
bbarbulovski at gmail.com
Tue Feb 11 10:26:20 UTC 2014
Here are three patches:
1. Removal of static QStringListModel::instance() method, and utilize
MainTab private variable members.
Reasons of this are:
* Simplifying the code.
* Performance, less dynamic objects.
* Allows second instance of modified classes for future needs.
2. Small patch that adds/removes '#include <QStringListModel>' statement.
3. Put include guards and guard end comment to every header.
br, Boris..
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20140211/644856a8/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Migrate-MainTab-models-QStringListModel.patch
Type: text/x-patch
Size: 4865 bytes
Desc: not available
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20140211/644856a8/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Update-include-statement-for-QStringListModel.patch
Type: text/x-patch
Size: 2378 bytes
Desc: not available
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20140211/644856a8/attachment-0004.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Put-include-guard-to-every-header.patch
Type: text/x-patch
Size: 18430 bytes
Desc: not available
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20140211/644856a8/attachment-0005.bin>
More information about the subsurface
mailing list