mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-20 04:25:42 +08:00
Fixed Clang warning about hidden function name
This commit is contained in:
committed by
Roland Winklmeier
parent
788078f72a
commit
0a016406b4
@@ -75,7 +75,7 @@ namespace BlackGui
|
|||||||
return h;
|
return h;
|
||||||
}
|
}
|
||||||
|
|
||||||
void CViewBaseNonTemplate::standardInit()
|
void CViewBaseNonTemplate::init()
|
||||||
{
|
{
|
||||||
int fh = qRound(1.5 * this->getHorizontalHeaderFontHeight());
|
int fh = qRound(1.5 * this->getHorizontalHeaderFontHeight());
|
||||||
this->horizontalHeader()->setSectionResizeMode(QHeaderView::Interactive); // faster mode
|
this->horizontalHeader()->setSectionResizeMode(QHeaderView::Interactive); // faster mode
|
||||||
@@ -234,7 +234,7 @@ namespace BlackGui
|
|||||||
connect(this->m_model, &ModelClass::rowCountChanged, this, &CViewBase::countChanged);
|
connect(this->m_model, &ModelClass::rowCountChanged, this, &CViewBase::countChanged);
|
||||||
}
|
}
|
||||||
this->setModel(this->m_model); // via QTableView
|
this->setModel(this->m_model); // via QTableView
|
||||||
CViewBaseNonTemplate::standardInit();
|
CViewBaseNonTemplate::init();
|
||||||
this->setSortIndicator();
|
this->setSortIndicator();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -110,7 +110,7 @@ namespace BlackGui
|
|||||||
virtual bool performResizing() const;
|
virtual bool performResizing() const;
|
||||||
|
|
||||||
//! Init default values
|
//! Init default values
|
||||||
virtual void standardInit();
|
void init();
|
||||||
|
|
||||||
ResizeMode m_resizeMode = ResizingAuto; //!< mode
|
ResizeMode m_resizeMode = ResizingAuto; //!< mode
|
||||||
int m_resizeCount = 0; //!< flag / counter, how many resize activities
|
int m_resizeCount = 0; //!< flag / counter, how many resize activities
|
||||||
|
|||||||
Reference in New Issue
Block a user