summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/FramebufferManager.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-07-30 18:27:06 -0400
committerLioncash <mathew1800@gmail.com>2019-07-30 19:17:25 -0400
commit6e14dcf70add539dc40ae32eee4df312dbd52c14 (patch)
tree003fa40ffa46bca521cb6e971b76aa1f45dab1b3 /Source/Core/VideoCommon/FramebufferManager.cpp
parentdea2b9c509b96cb58182b883c1df9f9f7f9234bf (diff)
DolphinQt/Config/GameConfigEdit: Pass parent pointer to base class
Previously, the constructor of GameConfigEdit wasn't doing anything with the passed in parent pointer. This is dangerous because it can result in memory being leaked in certain scenarios. It can also affect layout decisions made by the parent. Instead, pass it through to the base class. Current usages of the class pass in nullptr as the parent, so this is a safe change to make with regards to the class hierarchy. While we're at it, we can std::move the passed in QString into the class member, allowing calling code to move strings into the constructor, avoiding copies.
Diffstat (limited to 'Source/Core/VideoCommon/FramebufferManager.cpp')
0 files changed, 0 insertions, 0 deletions