diff options
| author | Christian Ehrlicher <[email protected]> | 2018-11-13 20:43:58 +0100 |
|---|---|---|
| committer | Christian Ehrlicher <[email protected]> | 2018-11-23 15:44:20 +0000 |
| commit | 8b42614c6cee227200fdf67082d29a0f0b9adf9d (patch) | |
| tree | e786797d275407ac0b8409e7cf7a5d7548a9ec9c /examples/widgets/itemviews/spreadsheet/printview.cpp | |
| parent | 18b1dc35e90a6a3946e9e88c8cfa1ced3a00b1fa (diff) | |
Cleanup Spreadsheet example
Cleanup the Spreadsheet example:
- use nullptr
- use for instead foreach
Change-Id: I55deed157403a46d98a6d753ef46e4cbe5730b4f
Reviewed-by: Luca Beldi <[email protected]>
Reviewed-by: Paul Wicking <[email protected]>
Reviewed-by: Sze Howe Koh <[email protected]>
Diffstat (limited to 'examples/widgets/itemviews/spreadsheet/printview.cpp')
| -rw-r--r-- | examples/widgets/itemviews/spreadsheet/printview.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/examples/widgets/itemviews/spreadsheet/printview.cpp b/examples/widgets/itemviews/spreadsheet/printview.cpp index 31424e90704..7db1a6bad9d 100644 --- a/examples/widgets/itemviews/spreadsheet/printview.cpp +++ b/examples/widgets/itemviews/spreadsheet/printview.cpp @@ -48,12 +48,11 @@ ** ****************************************************************************/ +#include "printview.h" + #ifndef QT_NO_PRINTER #include <QPrinter> #endif -#include <QStyleOptionViewItem> - -#include "printview.h" PrintView::PrintView() { |
