aboutsummaryrefslogtreecommitdiffstats
path: root/desktop-widgets/tagwidget.cpp
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-10-24 14:20:31 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-10-24 09:50:39 -0700
commit41975435a2a93733a0e46a7e594ffba193be6e87 (patch)
treeb07e6800508695bd83d1a649087bbcb1a5a352a7 /desktop-widgets/tagwidget.cpp
parentd543196059ed8f035827ec082618b59a7885a339 (diff)
downloadsubsurface-41975435a2a93733a0e46a7e594ffba193be6e87.tar.gz
cleanup: remove TagWidget::fixPopupPosition()
No user of that member function! Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets/tagwidget.cpp')
-rw-r--r--desktop-widgets/tagwidget.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/desktop-widgets/tagwidget.cpp b/desktop-widgets/tagwidget.cpp
index e7f2a9bfe..5327b0a2c 100644
--- a/desktop-widgets/tagwidget.cpp
+++ b/desktop-widgets/tagwidget.cpp
@@ -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)