Commit ac51ba10 authored by Alexander Neundorf's avatar Alexander Neundorf Committed by Alexander Neundorf
Browse files

Search& Replace: fix type in variable name

parent a7f6d1fe
......@@ -1033,12 +1033,12 @@ bool MatchModel::setData(const QModelIndex &itemIndex, const QVariant &, int rol
}
if (itemIndex.internalId() == FileItemId) {
int fileRrow = itemIndex.row();
if (fileRrow < 0 || fileRrow >= m_matchFiles.size()) {
int fileRow = itemIndex.row();
if (fileRow < 0 || fileRow >= m_matchFiles.size()) {
return false;
}
bool checked = m_matchFiles[fileRrow].checkState != Qt::Checked; // we toggle the current value
setFileChecked(fileRrow, checked);
bool checked = m_matchFiles[fileRow].checkState != Qt::Checked; // we toggle the current value
setFileChecked(fileRow, checked);
// compare file items
Qt::CheckState checkState = m_matchFiles[0].checkState;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment