There is a bug with new tab button misplaced first time it is shown.
// detecting Y position
int newPosY = m_tabBar->height() - m_addTabButton->height();
if(newPosY < 0)
newPosY = 5; // this hardcoded value is used in just ONE
situation:
// the first time an user changes the "Always Show
Tab Bar" settings
// try some better fixes, if you can :D
m_addTabButton->move(newPosX, newPosY );
Why calculating newPosY? Shouldn't it be 0 everytime? I am missing something?
With m_addTabButton->move(newPosX, 0), new tab button placement is good (even
the first time user changes always show tab bar).
Cédric
_______________________________________________
rekonq mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/rekonq