Qt: Placate Coverity a bit
This commit is contained in:
parent
2c71435c43
commit
ae3a5988d0
@ -395,7 +395,7 @@ SaveConverter::AnnotatedSave::AnnotatedSave(mPlatform platform, std::shared_ptr<
|
|||||||
: container(container)
|
: container(container)
|
||||||
, platform(platform)
|
, platform(platform)
|
||||||
, size(vf->size())
|
, size(vf->size())
|
||||||
, backing(vf)
|
, backing(std::move(vf))
|
||||||
, endianness(endianness)
|
, endianness(endianness)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
@ -405,7 +405,7 @@ SaveConverter::AnnotatedSave::AnnotatedSave(GBASavedataType type, std::shared_pt
|
|||||||
: container(container)
|
: container(container)
|
||||||
, platform(mPLATFORM_GBA)
|
, platform(mPLATFORM_GBA)
|
||||||
, size(vf->size())
|
, size(vf->size())
|
||||||
, backing(vf)
|
, backing(std::move(vf))
|
||||||
, endianness(endianness)
|
, endianness(endianness)
|
||||||
, gba({type})
|
, gba({type})
|
||||||
{
|
{
|
||||||
@ -417,7 +417,7 @@ SaveConverter::AnnotatedSave::AnnotatedSave(GBMemoryBankControllerType type, std
|
|||||||
: container(container)
|
: container(container)
|
||||||
, platform(mPLATFORM_GB)
|
, platform(mPLATFORM_GB)
|
||||||
, size(vf->size())
|
, size(vf->size())
|
||||||
, backing(vf)
|
, backing(std::move(vf))
|
||||||
, endianness(endianness)
|
, endianness(endianness)
|
||||||
, gb({type})
|
, gb({type})
|
||||||
{
|
{
|
||||||
|
@ -1101,7 +1101,7 @@ void Window::reloadDisplayDriver() {
|
|||||||
if (!proxy) {
|
if (!proxy) {
|
||||||
proxy = std::make_shared<VideoProxy>();
|
proxy = std::make_shared<VideoProxy>();
|
||||||
}
|
}
|
||||||
m_display->setVideoProxy(proxy);
|
m_display->setVideoProxy(std::move(proxy));
|
||||||
#ifdef ENABLE_SCRIPTING
|
#ifdef ENABLE_SCRIPTING
|
||||||
if (m_scripting) {
|
if (m_scripting) {
|
||||||
m_scripting->setVideoBackend(m_display->videoBackend());
|
m_scripting->setVideoBackend(m_display->videoBackend());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user