mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-08 03:35:35 +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;
|
||||
}
|
||||
|
||||
void CViewBaseNonTemplate::standardInit()
|
||||
void CViewBaseNonTemplate::init()
|
||||
{
|
||||
int fh = qRound(1.5 * this->getHorizontalHeaderFontHeight());
|
||||
this->horizontalHeader()->setSectionResizeMode(QHeaderView::Interactive); // faster mode
|
||||
@@ -234,7 +234,7 @@ namespace BlackGui
|
||||
connect(this->m_model, &ModelClass::rowCountChanged, this, &CViewBase::countChanged);
|
||||
}
|
||||
this->setModel(this->m_model); // via QTableView
|
||||
CViewBaseNonTemplate::standardInit();
|
||||
CViewBaseNonTemplate::init();
|
||||
this->setSortIndicator();
|
||||
}
|
||||
|
||||
|
||||
@@ -110,7 +110,7 @@ namespace BlackGui
|
||||
virtual bool performResizing() const;
|
||||
|
||||
//! Init default values
|
||||
virtual void standardInit();
|
||||
void init();
|
||||
|
||||
ResizeMode m_resizeMode = ResizingAuto; //!< mode
|
||||
int m_resizeCount = 0; //!< flag / counter, how many resize activities
|
||||
|
||||
Reference in New Issue
Block a user