Commit Graph

1306 Commits

Author SHA1 Message Date
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
Lioncash dbd2912ee5 CExportGameDialog: Mark search string as constexpr 2020-07-03 22:30:21 -04:00
Lioncash 1f1d48fc40 CExportGameDialog: Remove unused prototype 2020-07-03 22:29:11 -04:00
Lioncash 6e8b7f4053 CEditorApplication: Mark string as translatable 2020-07-03 22:20:52 -04:00
Lioncash c8db5e2581 CCloneSelectionCommand: Make use of STL named functions 2020-07-03 22:13:33 -04:00
Lioncash a6f224b346 CChangeLayerCommand: Make use of STL named functions 2020-07-03 22:11:13 -04:00
Lioncash f60d826be2 CDeleteSelectionCommand: Make use of ranged for where applicable 2020-07-03 22:09:37 -04:00
Lioncash a03f76e545 CDeleteLinksCommand: Make use of ranged for where applicable 2020-07-03 21:31:57 -04:00
Lioncash 1ac105f859 UICommon: Prevent unnecessary string copies in OpenContainingFolder 2020-07-03 12:59:53 -04:00
Lioncash cacbdd9fc8 CTemplateListView: Make use of override 2020-07-03 12:57:24 -04:00
Lioncash deeb0d4a23 CLinkDialog: Make use of override 2020-07-03 12:54:29 -04:00
Lioncash e4ebeb8b91 CLayerEditor: Make use of override 2020-07-03 12:54:08 -04:00
Lioncash e86c396a6d CInstancesProxyModel: Make use of override 2020-07-03 12:53:41 -04:00
Lioncash c3b724a94b CCollisionRenderSettingsDialog: Make use of override 2020-07-03 12:52:55 -04:00
Lioncash e436e9dc7b CSoftValidatorLineEdit: Make use of override 2020-07-03 12:52:33 -04:00
Lioncash 4c7c422bad CFilteredResourceModel: Make use of override 2020-07-03 12:51:39 -04:00
Lioncash e8e5088001 CCheckableTreeWidgetItem: Make use of override 2020-07-03 12:49:57 -04:00
Lioncash 2d9406a287 TSerializeUndoCommand: Make use of override 2020-07-03 12:48:38 -04:00
Lioncash 24a69164f7 ICreateDeleteResourceCommand: Make use of override 2020-07-03 12:48:01 -04:00