SVN commit 653393 by zander: Add assert that gets hit when I start krita. What changed in statusbars tha could make this happen? Untabify M +4 -3 KoView.cpp --- trunk/koffice/libs/kofficecore/KoView.cpp #653392:653393 @@ -101,12 +101,13 @@ void ensureItemShown( KStatusBar * sb ) { + Q_ASSERT(m_widget); if ( !m_visible ) { if( m_permanent ) - sb->addPermanentWidget( m_widget, m_stretch ); - else - sb->addWidget( m_widget, m_stretch ); + sb->addPermanentWidget( m_widget, m_stretch ); + else + sb->addWidget( m_widget, m_stretch ); m_visible = true; m_widget->show();