Commit f8ea41d2 authored by Leslie Zhai's avatar Leslie Zhai

Add UpdateLater event for ViewColumnAdjuster.

BUG: 387054
parent 84f019c4
......@@ -139,10 +139,10 @@ int K3b::ViewColumnAdjuster::columnMargin( int column ) const
}
bool K3b::ViewColumnAdjuster::eventFilter( QObject* watched, QEvent* event )
bool K3b::ViewColumnAdjuster::eventFilter(QObject* watched, QEvent* event)
{
if ( watched == d->view ) {
if ( event->type() == QEvent::Resize ) {
if (watched == d->view) {
if (event->type() == QEvent::Resize || event->type() == QEvent::UpdateLater) {
d->_k_adjustColumns();
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment