mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-21 14:35:46 +00:00
yuzu/wait_tree: Pass QString by value and std::move in the initializer list for WaitTreeText
Just a trivial modernization that potentially avoids copying strings in certain scenarios.
This commit is contained in:
parent
44e35994ce
commit
061b5571b6
2 changed files with 2 additions and 2 deletions
|
@ -52,7 +52,7 @@ private:
|
|||
class WaitTreeText : public WaitTreeItem {
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit WaitTreeText(const QString& text);
|
||||
explicit WaitTreeText(QString text);
|
||||
~WaitTreeText() override;
|
||||
|
||||
QString GetText() const override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue