diff options
Diffstat (limited to 'Swift/QtUI/QtHighlightRulesItemModel.cpp')
-rw-r--r-- | Swift/QtUI/QtHighlightRulesItemModel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Swift/QtUI/QtHighlightRulesItemModel.cpp b/Swift/QtUI/QtHighlightRulesItemModel.cpp index 4efa712..fcbaddc 100644 --- a/Swift/QtUI/QtHighlightRulesItemModel.cpp +++ b/Swift/QtUI/QtHighlightRulesItemModel.cpp @@ -207,5 +207,5 @@ bool QtHighlightRulesItemModel::setData(const QModelIndex &index, const QVariant emit dataChanged(index, index); foreach (int column, changedColumns) { - QModelIndex i = createIndex(index.row(), column, (void*) 0); + QModelIndex i = createIndex(index.row(), column, static_cast<void*>(0)); emit dataChanged(i, i); } @@ -228,5 +228,5 @@ int QtHighlightRulesItemModel::rowCount(const QModelIndex& /* parent */) const QModelIndex QtHighlightRulesItemModel::index(int row, int column, const QModelIndex& /* parent */) const { - return createIndex(row, column, (void*) 0); + return createIndex(row, column, static_cast<void*>(0)); } |