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

List:       kde-commits
Subject:    koffice/kchart/shape
From:       Johannes Simon <johannes.simon () gmail ! com>
Date:       2008-07-31 21:38:19
Message-ID: 1217540299.500070.13689.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 840337 by jsimon:

Don't emit rowsInserted() signal when new dataset is created, the caller of this \
method has to take care of the insertion.

 M  +0 -2      ProxyModel.cpp  


--- trunk/koffice/kchart/shape/ProxyModel.cpp #840336:840337
@@ -412,10 +412,8 @@
     if ( !d->spreadSheetModel )
         return 0;
     
-    beginInsertRows( QModelIndex(), d->dataSets.size(), d->dataSets.size() );
     DataSet *dataSet = new CellDataSet( this );
     d->dataSets.append( dataSet );
-    endInsertRows();
     
     dataSet->setColor( defaultDataSetColor( d->dataSets.size() - 1 ) );
     dataSet->setNumber( d->dataSets.size() - 1 );


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

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