diff options
author | David Schulz <david.schulz@digia.com> | 2012-11-23 13:36:40 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-11-24 23:07:54 +0100 |
commit | d5ec06be6397b807b743aa46707ff45aa9dccafa (patch) | |
tree | ff53ede51fa0e3d90cb0619d7297be5e49025810 /examples/widgets/richtext/calendar/mainwindow.cpp | |
parent | cf1e315e285b9a645231538bcbacf9e541c970c3 (diff) |
QtBase: examples/widgets/richtext code style
Change-Id: Ie0c27464e0fdb8f26caf0d8f27043da4ec45f41f
Reviewed-by: hjk <qthjk@ovi.com>
Diffstat (limited to 'examples/widgets/richtext/calendar/mainwindow.cpp')
-rw-r--r-- | examples/widgets/richtext/calendar/mainwindow.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/examples/widgets/richtext/calendar/mainwindow.cpp b/examples/widgets/richtext/calendar/mainwindow.cpp index 5a0a5cc1d2..3b9dfa83b0 100644 --- a/examples/widgets/richtext/calendar/mainwindow.cpp +++ b/examples/widgets/richtext/calendar/mainwindow.cpp @@ -38,10 +38,10 @@ ** ****************************************************************************/ -#include <QtWidgets> - #include "mainwindow.h" +#include <QtWidgets> + //! [0] MainWindow::MainWindow() { @@ -158,8 +158,7 @@ void MainWindow::insertCalendar() QTextTableCell cell = table->cellAt(0, weekDay-1); //! [11] //! [12] QTextCursor cellCursor = cell.firstCursorPosition(); - cellCursor.insertText(QString("%1").arg(QDate::longDayName(weekDay)), - boldFormat); + cellCursor.insertText(QString("%1").arg(QDate::longDayName(weekDay)), boldFormat); } //! [12] |