Replace zero constants with nullptr
This commit is contained in:
1 parent
73de7b8d3e
commit
61e97c9a09
6 files changed
+7
-7
No files matched your search
@@ -78,7 +78,7 @@ private:
|
||||
opt.decorationSize = QSize(0, 0);
|
||||
|
||||
// Default draw command for paint.
|
||||
QApplication::style()->drawControl(QStyle::CE_ItemViewItem, &opt, painter, 0);
|
||||
QApplication::style()->drawControl(QStyle::CE_ItemViewItem, &opt, painter, nullptr);
|
||||
|
||||
// Draw pixmap at the center of the tablewidget cell
|
||||
QPixmap pix = qvariant_cast<QPixmap>(index.data(Qt::DecorationRole));
|
||||
|
||||
Reference in new issue
Block a user