[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    koffice/libs/kofficecore
From:       Thomas Zander <zander () kde ! org>
Date:       2007-04-13 7:10:19
Message-ID: 1176448219.621641.7198.nullmailer () svn ! kde ! org
[Download RAW message or body]

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();
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic