mirror of https://github.com/mgba-emu/mgba.git
Qt: Placate Coverity a bit
This commit is contained in:
parent
fd0deaaecc
commit
434789c6d1
|
@ -100,6 +100,7 @@ ApplicationUpdater::UpdateInfo ApplicationUpdater::currentVersion() {
|
||||||
info.version = QLatin1String(projectVersion);
|
info.version = QLatin1String(projectVersion);
|
||||||
info.rev = gitRevision;
|
info.rev = gitRevision;
|
||||||
info.commit = QLatin1String(gitCommit);
|
info.commit = QLatin1String(gitCommit);
|
||||||
|
info.size = 0;
|
||||||
return info;
|
return info;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -49,10 +49,10 @@ private:
|
||||||
BattleChip createChip(int id) const;
|
BattleChip createChip(int id) const;
|
||||||
|
|
||||||
QMap<int, QString> m_chipIdToName;
|
QMap<int, QString> m_chipIdToName;
|
||||||
int m_flavor;
|
int m_flavor = 0;
|
||||||
int m_scale = 1;
|
int m_scale = 1;
|
||||||
|
|
||||||
QList<BattleChip> m_deck;
|
QList<BattleChip> m_deck;
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -42,8 +42,8 @@ protected:
|
||||||
|
|
||||||
private:
|
private:
|
||||||
bool m_isDrawing = false;
|
bool m_isDrawing = false;
|
||||||
int m_width;
|
int m_width = -1;
|
||||||
int m_height;
|
int m_height = -1;
|
||||||
QImage m_backing{nullptr};
|
QImage m_backing{nullptr};
|
||||||
QImage m_oldBacking{nullptr};
|
QImage m_oldBacking{nullptr};
|
||||||
std::shared_ptr<CoreController> m_context = nullptr;
|
std::shared_ptr<CoreController> m_context = nullptr;
|
||||||
|
|
Loading…
Reference in New Issue