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:
Klaus Basan
2016-08-26 23:07:36 +02:00
parent f506d780b9
commit 58faed5ea7
5 changed files with 13 additions and 54 deletions

View File

@@ -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>