Refactoring. Remove unused local variables.
--HG-- branch : develop
This commit is contained in:
parent
1d82d96562
commit
016e2db2e6
|
@ -534,7 +534,6 @@ bool QxtCsvModel::removeColumns(int col, int count, const QModelIndex& parent)
|
|||
}
|
||||
emit beginRemoveColumns(parent, col, col + count);
|
||||
QxtCsvModelPrivate& d_ptr = qxt_d();
|
||||
QString before, after;
|
||||
for (int i = 0; i < rowCount(); i++)
|
||||
{
|
||||
for (int j = 0; j < count; j++)
|
||||
|
|
|
@ -385,9 +385,7 @@ QMarginsF VSettings::GetFields(const QMarginsF &def) const
|
|||
//---------------------------------------------------------------------------------------------------------------------
|
||||
void VSettings::SetFields(const QMarginsF &value)
|
||||
{
|
||||
QVariant val = QVariant::fromValue(value);
|
||||
QString str = val.toString();
|
||||
setValue(SettingFields, val);
|
||||
setValue(SettingFields, QVariant::fromValue(value));
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue
Block a user