mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 14:25:27 +00:00
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:
parent
d543196059
commit
41975435a2
2 changed files with 0 additions and 9 deletions
|
@ -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)
|
||||
|
|
|
@ -18,7 +18,6 @@ public:
|
|||
void clear();
|
||||
void setCursorPosition(int position);
|
||||
void wheelEvent(QWheelEvent *event);
|
||||
void fixPopupPosition(int delta);
|
||||
public
|
||||
slots:
|
||||
void reparse();
|
||||
|
|
Loading…
Add table
Reference in a new issue