Qt: Placate Coverity a bit

This commit is contained in:
Vicki Pfau 2023-03-14 01:27:19 -07:00
parent fd0deaaecc
commit 434789c6d1
3 changed files with 5 additions and 4 deletions

View File

@ -100,6 +100,7 @@ ApplicationUpdater::UpdateInfo ApplicationUpdater::currentVersion() {
info.version = QLatin1String(projectVersion);
info.rev = gitRevision;
info.commit = QLatin1String(gitCommit);
info.size = 0;
return info;
}

View File

@ -49,10 +49,10 @@ private:
BattleChip createChip(int id) const;
QMap<int, QString> m_chipIdToName;
int m_flavor;
int m_flavor = 0;
int m_scale = 1;
QList<BattleChip> m_deck;
};
}
}

View File

@ -42,8 +42,8 @@ protected:
private:
bool m_isDrawing = false;
int m_width;
int m_height;
int m_width = -1;
int m_height = -1;
QImage m_backing{nullptr};
QImage m_oldBacking{nullptr};
std::shared_ptr<CoreController> m_context = nullptr;