mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 10:46:35 +01:00
ComboTabBar: Disable tab drag bounds with RTL
This commit is contained in:
parent
977b45505c
commit
c506283534
@ -1442,6 +1442,10 @@ void TabBarHelper::mouseMoveEvent(QMouseEvent *event)
|
||||
|
||||
// Don't allow to move tabs outside of tabbar
|
||||
if (m_dragInProgress && m_movingTab) {
|
||||
// FIXME: This doesn't work at all with RTL...
|
||||
if (isRightToLeft()) {
|
||||
return;
|
||||
}
|
||||
QRect r = tabRect(m_pressedIndex);
|
||||
r.moveLeft(r.x() + (event->pos().x() - m_dragStartPosition.x()));
|
||||
bool sendEvent = false;
|
||||
|
Loading…
Reference in New Issue
Block a user