mirror of
https://github.com/Serial-Studio/Serial-Studio.git
synced 2025-01-15 05:22:53 +08:00
Fix codacy warnings
This commit is contained in:
parent
e0886ee73d
commit
b6b3113337
@ -46,15 +46,13 @@ static Editor *INSTANCE = nullptr;
|
||||
* document file.
|
||||
*/
|
||||
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(this, &Editor::groupChanged, this, &Editor::onGroupChanged);
|
||||
connect(this, &Editor::titleChanged, this, &Editor::onModelChanged);
|
||||
|
@ -41,8 +41,8 @@ static DataProvider *INSTANCE = nullptr;
|
||||
* Constructor of the class
|
||||
*/
|
||||
DataProvider::DataProvider()
|
||||
: m_latestJsonFrame(JFI_Empty())
|
||||
{
|
||||
m_latestJsonFrame = JFI_Empty();
|
||||
auto cp = CSV::Player::getInstance();
|
||||
auto io = IO::Manager::getInstance();
|
||||
auto ge = JSON::Generator::getInstance();
|
||||
|
Loading…
x
Reference in New Issue
Block a user