mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-06 18:25:37 +08:00
refs #745, removed unused hover code
(this was a trial to highlight the drop position, the callback function was kept)
This commit is contained in:
@@ -1172,15 +1172,9 @@ namespace BlackGui
|
||||
template <class ModelClass, class ContainerType, class ObjectType>
|
||||
void CViewBase<ModelClass, ContainerType, ObjectType>::mouseOverCallback(const QModelIndex &index, bool mouseOver)
|
||||
{
|
||||
if (mouseOver && index.isValid())
|
||||
{
|
||||
const int row = index.row();
|
||||
this->m_model->setHoveredRow(row);
|
||||
}
|
||||
else
|
||||
{
|
||||
// this->m_model->setHoveredRow(-1);
|
||||
}
|
||||
// void
|
||||
Q_UNUSED(index);
|
||||
Q_UNUSED(mouseOver);
|
||||
}
|
||||
|
||||
template <class ModelClass, class ContainerType, class ObjectType>
|
||||
|
||||
Reference in New Issue
Block a user