summaryrefslogtreecommitdiffstats
path: root/examples/widgets/itemviews/spreadsheet/spreadsheet.h
diff options
context:
space:
mode:
authorChristian Ehrlicher <ch.ehrlicher@gmx.de>2018-11-13 20:43:58 +0100
committerChristian Ehrlicher <ch.ehrlicher@gmx.de>2018-11-23 15:44:20 +0000
commit8b42614c6cee227200fdf67082d29a0f0b9adf9d (patch)
treee786797d275407ac0b8409e7cf7a5d7548a9ec9c /examples/widgets/itemviews/spreadsheet/spreadsheet.h
parent18b1dc35e90a6a3946e9e88c8cfa1ced3a00b1fa (diff)
Cleanup Spreadsheet example
Cleanup the Spreadsheet example: - use nullptr - use for instead foreach Change-Id: I55deed157403a46d98a6d753ef46e4cbe5730b4f Reviewed-by: Luca Beldi <v.ronin@yahoo.it> Reviewed-by: Paul Wicking <paul.wicking@qt.io> Reviewed-by: Sze Howe Koh <szehowe.koh@gmail.com>
Diffstat (limited to 'examples/widgets/itemviews/spreadsheet/spreadsheet.h')
-rw-r--r--examples/widgets/itemviews/spreadsheet/spreadsheet.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/widgets/itemviews/spreadsheet/spreadsheet.h b/examples/widgets/itemviews/spreadsheet/spreadsheet.h
index a90d1d8c20..b36a377156 100644
--- a/examples/widgets/itemviews/spreadsheet/spreadsheet.h
+++ b/examples/widgets/itemviews/spreadsheet/spreadsheet.h
@@ -65,10 +65,8 @@ QT_END_NAMESPACE
class SpreadSheet : public QMainWindow
{
Q_OBJECT
-
public:
-
- SpreadSheet(int rows, int cols, QWidget *parent = 0);
+ SpreadSheet(int rows, int cols, QWidget *parent = nullptr);
public slots:
void updateStatus(QTableWidgetItem *item);