cleanup: remove TagWidget::fixPopupPosition()

No user of that member function!

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2020-10-24 14:20:31 +02:00 committed by Dirk Hohndel
parent d543196059
commit 41975435a2
2 changed files with 0 additions and 9 deletions

View file

@ -197,14 +197,6 @@ void TagWidget::wheelEvent(QWheelEvent *event)
}
}
void TagWidget::fixPopupPosition(int delta)
{
if(m_completer->popup()->isVisible()){
QRect toGlobal = m_completer->popup()->geometry();
m_completer->popup()->setGeometry(toGlobal.x(), toGlobal.y() + delta +10, toGlobal.width(), toGlobal.height());
}
}
// Since we capture enter / return / tab, we never send an editingFinished() signal.
// Therefore, override the focusOutEvent()
void TagWidget::focusOutEvent(QFocusEvent *ev)

View file

@ -18,7 +18,6 @@ public:
void clear();
void setCursorPosition(int position);
void wheelEvent(QWheelEvent *event);
void fixPopupPosition(int delta);
public
slots:
void reparse();