Sheet: modernize C++: return braced init list

This commit is contained in:
wmayer
2023-08-19 11:29:49 +02:00
parent 9ce0518c35
commit bafb6cfb9f
8 changed files with 23 additions and 26 deletions

View File

@@ -94,7 +94,7 @@ QSize SpreadsheetDelegate::sizeHint(const QStyleOptionViewItem & option, const Q
{
Q_UNUSED(option);
Q_UNUSED(index);
return QSize();
return {};
}
static inline void drawBorder(QPainter *painter, const QStyleOptionViewItem &option,