pasnox/fresh — Issue #4: minor bugs in pDockWidgetTitleBar and pToolButton
Author: hlamer
Created: 2012-01-19 06:18:09+00:00
State: open

pToolButton: You forgot to initialize mDirection, but in setDirection check, if value is changed

QSize pDockWidgetTitleBar::sizeHint() const
{
if ( mDock->features() & QDockWidget::DockWidgetVerticalTitleBar ) {
size.rheight() += fm.width( mDock->windowTitle() ) +wis.width();
}
else {
size.rwidth() += fm.width( mDock->windowTitle() ) +wis.width();
}
() += looks strange