Fix codacy warnings

This commit is contained in:
Alex Spataru 2021-09-19 02:08:42 -05:00
parent e0886ee73d
commit b6b3113337
2 changed files with 7 additions and 9 deletions

View File

@ -46,15 +46,13 @@ static Editor *INSTANCE = nullptr;
* document file. * document file.
*/ */
Editor::Editor() Editor::Editor()
: m_title("")
, m_separator("")
, m_frameEndSequence("")
, m_frameStartSequence("")
, m_modified(false)
, m_filePath("")
{ {
// Set default values
m_title = "";
m_filePath = "";
m_separator = "";
m_frameEndSequence = "";
m_frameStartSequence = "";
m_modified = false;
// Connect signals/slots // Connect signals/slots
connect(this, &Editor::groupChanged, this, &Editor::onGroupChanged); connect(this, &Editor::groupChanged, this, &Editor::onGroupChanged);
connect(this, &Editor::titleChanged, this, &Editor::onModelChanged); connect(this, &Editor::titleChanged, this, &Editor::onModelChanged);

View File

@ -41,8 +41,8 @@ static DataProvider *INSTANCE = nullptr;
* Constructor of the class * Constructor of the class
*/ */
DataProvider::DataProvider() DataProvider::DataProvider()
: m_latestJsonFrame(JFI_Empty())
{ {
m_latestJsonFrame = JFI_Empty();
auto cp = CSV::Player::getInstance(); auto cp = CSV::Player::getInstance();
auto io = IO::Manager::getInstance(); auto io = IO::Manager::getInstance();
auto ge = JSON::Generator::getInstance(); auto ge = JSON::Generator::getInstance();