diff options
-rw-r--r-- | desktop-widgets/tagwidget.cpp | 8 | ||||
-rw-r--r-- | desktop-widgets/tagwidget.h | 1 |
2 files changed, 0 insertions, 9 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) diff --git a/desktop-widgets/tagwidget.h b/desktop-widgets/tagwidget.h index da5091658..83e8b86b5 100644 --- a/desktop-widgets/tagwidget.h +++ b/desktop-widgets/tagwidget.h @@ -18,7 +18,6 @@ public: void clear(); void setCursorPosition(int position); void wheelEvent(QWheelEvent *event); - void fixPopupPosition(int delta); public slots: void reparse(); |