Commit Graph

1274 Commits

Author SHA1 Message Date
Lioncash 207a378c79 CNodeCopyMimeData: Make use of explicit in constructor 2020-07-10 15:35:08 -04:00
Lioncash 1fca5e1c0a CInvertSelectionCommand: Mark use of push_back over operator<< 2020-07-10 15:32:14 -04:00
Lioncash 01f7cacc42 CFilteredResourceModel: Mark use of QStringLiteral 2020-07-10 15:30:56 -04:00
Lioncash dc1b65c7e4 CFilteredResourceModel: Mark use of push_back over operator<< 2020-07-10 15:30:12 -04:00
Lioncash fa8c1b3255 CFilteredResourceModel: Mark sort lambda parameters as const 2020-07-10 15:29:42 -04:00
Lioncash a30c6195d9 CEditScriptPropertyCommand: Make use of ranged for 2020-07-10 15:27:53 -04:00
Lioncash c0c2bca54f CEditScriptPropertyCommand: Make use of push_back over operator<< 2020-07-10 15:27:20 -04:00
Lioncash 35eb097d13 CEditorApplication: Make gkTickFrequencyMS constexpr 2020-07-10 15:25:57 -04:00
Lioncash 7baf43f88f CDeleteSelectionCommand: Make use of explicit on constructor 2020-07-10 15:25:04 -04:00
Lioncash 9936d1ff3a CCustomDelegate: Ensure all members of SDelegateFontInfo are initialized 2020-07-10 15:23:58 -04:00
Lioncash fafa12af91 CClearSelectionCommand: Make use of push_back over operator<< 2020-07-10 15:22:24 -04:00
Lioncash e19d0558d0 CCheckableTreeWidgetItem: Make use of explicit on constructor 2020-07-10 15:21:41 -04:00
Lioncash 443c6ac81f CCheckableTreeWidget: Make use of explicit on constructor 2020-07-10 15:20:18 -04:00
Lioncash de8473836b CDeleteSelectionCommand: Make use of push_back over operator<< 2020-07-10 12:29:58 -04:00
Lioncash ca76ce4b45 CEditLinkCommand: Make use of push_back over operator<< 2020-07-10 12:27:21 -04:00
Lioncash 26a8c6529f CEditorApplication: Make use of push_back over operator<< 2020-07-10 12:25:42 -04:00
Lioncash c6a2669176 CLinkModel: Make use of QLatin1Char overloads
Same behavior, better performance and plays nicely if implicit C string
-> QString is disabled in the future.
2020-07-10 12:13:16 -04:00
Lioncash 33fced1b7b CPoiMapModel: Make use of push_back over operator<< 2020-07-10 12:08:19 -04:00
Lioncash c4bf754722 CPoiMapSidebar: Make use of push_back over operator<< 2020-07-10 12:05:52 -04:00
Lioncash cc668e514b CPropertyDelegate: Make use of push_back over operator<< 2020-07-10 12:03:41 -04:00
Lioncash 6f35e8c760 CPropertyModel: Make use of push_back over operator<< 2020-07-10 12:02:14 -04:00
Lioncash 90e71289a6 CResourceBrowser: Make use of push_back over operator<< 2020-07-10 12:00:08 -04:00
Lioncash 62fda783f9 CResourceBrowser: Make use of QList's initializer list 2020-07-10 11:58:15 -04:00
Lioncash d8c865e438 CResourceMimeData: Make use of std::move 2020-07-10 11:53:59 -04:00
Lioncash c7fff2816e CResourceTableModel: Make use of push_back 2020-07-10 11:48:09 -04:00
Lioncash a904cf97ff CResourceTableModel: Unindent some code 2020-07-10 11:46:32 -04:00
Lioncash 5a7d03a5cf CRotateNodeCommand: Convert operator<< into push_back() 2020-07-10 11:40:42 -04:00
Lioncash 6e0169ca16 CRotateNodeCommand: Default destructor 2020-07-10 11:39:37 -04:00
Lioncash 4d932246ca CSceneViewport: Mark IsHoveringGizmo() as const
This doesn't modify internal member state.
2020-07-10 11:36:37 -04:00
Lioncash 2263af8d2f CTemplateEditDialog: Make use of ranged for where applicable 2020-07-10 11:31:35 -04:00
Lioncash 412b29b6f1 CTemplateEditDialog: Make use of push_back over <<
Same behavior, more immediately readable.
2020-07-10 11:29:31 -04:00
Lioncash b2e8c18298 CStringListModel: Make use of QVector initializer list 2020-07-10 11:27:58 -04:00
Lioncash 942e707626 CStringEditor: Make use of QSignalBlocker 2020-07-10 11:25:10 -04:00
Lioncash a5d9f41559 CStringEditor: Unindent some code 2020-07-10 11:22:34 -04:00
Lioncash 0b33933a16 CTweakEditor: Make use of QSignalBlocker 2020-07-10 11:14:30 -04:00
Lioncash 63678a558b CTweakEditor: Unindent some code 2020-07-10 11:08:49 -04:00
Lioncash a65af0dd22 CVirtualDirectoryTreeView: Make use of QSignalBlocker()
Same behavior, but automatically releases blocked signals.
2020-07-10 10:57:23 -04:00
Lioncash fc4c0a6c58 CSceneViewport: Mark HoverPoint() as const
This doesn't modify internal member state.
2020-07-05 10:40:30 -04:00
Lioncash 602c0cf1e3 CVirtualDirectoryModel: Mark GetIndexForDirectory as const
This function doesn't modify instance state.
2020-07-05 10:37:11 -04:00
Lioncash 05df1fcf89 CVirtualDirectory: Make use of size_t where applicable 2020-07-05 10:31:43 -04:00
Lioncash a8e51f86d7 CVirtualDirectory: Add const getters
Allows data retrieval even with const variants of virtual directories.
2020-07-05 10:22:55 -04:00
Lioncash 97fa0c7f2d CVirtualDirectoryModel: Return std::optional from GetProposedIndex()
Same behavior, minus out parameters.
2020-07-05 10:19:52 -04:00
Lioncash dcfb34ca1c CVirtualDirectoryModel: Eliminate string copies where applicable 2020-07-05 10:13:34 -04:00
Lioncash fdcb0b770c CTweakEditor: Make use of STL equivalents over << where applicable
More recognizable with regards to behavior being performed.

While we're at it, we can preallocate the backing asset QVector ahead of
time.
2020-07-05 10:03:52 -04:00
Lioncash d235fd4b17 CGizmo: Remove <iostream>
Same behavior, minus an injected static constructor.
2020-07-04 13:16:38 -04:00
Lioncash 872fe90a41 CPoiMapSidebar: Make use of ranged for 2020-07-03 23:17:37 -04:00
Lioncash d8817d8cb2 CModelEditorWindow: Mark a missed string as translatable 2020-07-03 22:59:02 -04:00
Lioncash 55e93e6111 CInstancesModel: Tidy up appending to lists 2020-07-03 22:57:46 -04:00
Lioncash 2d21d6af01 CGizmo: Mark NumSelectedAxes() as const
This doesn't modify internal member state.
2020-07-03 22:51:34 -04:00
Lioncash 54f90b3b8f CGeneratePropertyNamesDialog: Eliminate variable shadowing, etc 2020-07-03 22:44:26 -04:00