Skip to content

Commit

Permalink
Add parentheses around complex operands.
Browse files Browse the repository at this point in the history
  • Loading branch information
przemek83 committed Jan 22, 2025
1 parent 04b5fa4 commit f36d3b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ModelsAndViews/DataView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ QVector<TransactionData> DataView::fillDataFromSelection(
const QModelIndex dateIndex{proxyModel->index(i, taggedColumns.date_)};
const QVariant& dateVariant{dateIndex.data()};
if (selectionModelOfView->isSelected(dateIndex) &&
!dateVariant.isNull())
(!dateVariant.isNull()))
{
TransactionData transactionData;
transactionData.date_ = dateVariant.toDate();
Expand Down

0 comments on commit f36d3b5

Please sign in to comment.