Cleanups.
This commit is contained in:
@@ -85,7 +85,7 @@ void BCValueModel::onValueUpdated( int row, BCValue::State state, const QString&
|
||||
{
|
||||
if( row > -1 && row < _valueList.size() )
|
||||
{
|
||||
BCValue& value = *(_valueList[row].get());
|
||||
const BCValue& value = *(_valueList[row].get());
|
||||
QModelIndex idx = index(row,1);
|
||||
|
||||
//qDebug();
|
||||
@@ -132,7 +132,7 @@ int BCValueModel::columnCount(const QModelIndex& parent) const
|
||||
{
|
||||
if (parent.isValid())
|
||||
return 0;
|
||||
return 2;
|
||||
return 3;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user