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

List:       kde-commits
Subject:    KDE/kdevplatform/plugins/standardoutputview
From:       Aleix Pol Gonzalez <aleixpol () gmail ! com>
Date:       2008-04-30 19:56:57
Message-ID: 1209585417.997093.10310.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 802832 by apol:

Don't crash when the build action is triggered for 2nd time.


 M  +1 -1      standardoutputview.cpp  


--- trunk/KDE/kdevplatform/plugins/standardoutputview/standardoutputview.cpp \
#802831:802832 @@ -193,7 +193,7 @@
 {
     foreach( int _id, toolviews.keys() )
     {
-        if( toolviews.value( _id )->outputdata.contains( id ) )
+        if( toolviews.value( _id )->outputdata.contains( id ) && !toolviews.value( \
_id )->views.isEmpty())  {
             Sublime::View* v = toolviews.value( _id )->views.at(0);
             OutputWidget* w = qobject_cast<OutputWidget*>( v->widget() );


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

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