Skip to content

Commit

Permalink
Bit definition edit fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
grodansparadis committed Dec 11, 2023
1 parent e1d1519 commit a6fdc45
Show file tree
Hide file tree
Showing 7 changed files with 195 additions and 245 deletions.
9 changes: 1 addition & 8 deletions src/cdlgmdfregisterbit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -84,17 +84,10 @@ CDlgMdfRegisterBit::~CDlgMdfRegisterBit()
//

void
CDlgMdfRegisterBit::initDialogData(CMDF* pmdf, CMDF_Bit* pbit, int index)
CDlgMdfRegisterBit::initDialogData(CMDF_Bit* pbit, int index)
{
QString str;

if (nullptr == pmdf) {
spdlog::error("MDF register bit information - Invalid MDF object (initDialogData)");
return;
}

m_pmdf = pmdf;

if (nullptr == pbit) {
spdlog::error("MDF register bit information - Invalid MDF register bit object (initDialogData)");
return;
Expand Down
4 changes: 2 additions & 2 deletions src/cdlgmdfregisterbit.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,11 @@ class CDlgMdfRegisterBit : public QDialog {
/*!
Init dialog data
@param CMDF *pmdf Pointer to MDF
@param pmdfobject Pointer to MDF object
@param pbit Pointer to MDF bit object
@param index Selected file item
*/
void initDialogData(CMDF* pmdf, CMDF_Bit* pbit, int index = 0);
void initDialogData(CMDF_Bit* pbit, int index = 0);

// ----------------------------------------------------------------------------
// Getters & Setters
Expand Down
Loading

0 comments on commit a6fdc45

Please sign in to comment.