mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-12-08 13:15:01 +00:00
Editor/CPropertyModel: std::move font instance
Avoids making a full copy of the font.
This commit is contained in:
@@ -59,7 +59,7 @@ public:
|
||||
EPropertyType GetEffectiveFieldType(IProperty* pProperty) const;
|
||||
void SetShowPropertyNameValidity(bool Enable);
|
||||
|
||||
void SetFont(QFont Font) { mFont = Font; }
|
||||
void SetFont(QFont Font) { mFont = std::move(Font); }
|
||||
void SetBoldModifiedProperties(bool Enable) { mBoldModifiedProperties = Enable; }
|
||||
CScriptObject* GetScriptObject() const { return mpObject; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user