diff options
author | Jan Arve Saether <jan-arve.saether@digia.com> | 2013-02-19 14:58:51 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-02-19 21:06:53 +0100 |
commit | 64106705e7ca6132b1de15529c6206ebb0c58dfa (patch) | |
tree | 4ed30c635b6c81681afe5cb76aa578c11d754454 /tests | |
parent | eb09f9b82c249db096754d9cbeea3424149c1869 (diff) |
Clean whitespace
Change-Id: Iec1950a0f4053cd71633162f0cb50efc9d4d493f
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/widgets/widgets/qstackedwidget/tst_qstackedwidget.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/auto/widgets/widgets/qstackedwidget/tst_qstackedwidget.cpp b/tests/auto/widgets/widgets/qstackedwidget/tst_qstackedwidget.cpp index 3b5c73ca57..5c9f46095c 100644 --- a/tests/auto/widgets/widgets/qstackedwidget/tst_qstackedwidget.cpp +++ b/tests/auto/widgets/widgets/qstackedwidget/tst_qstackedwidget.cpp @@ -58,7 +58,7 @@ public: private slots: void getSetCheck(); - void testMinimumSize(); + void testMinimumSize(); }; tst_QStackedWidget::tst_QStackedWidget() @@ -72,15 +72,15 @@ tst_QStackedWidget::~tst_QStackedWidget() // Testing that stackedwidget respect the minimum size of it's contents (task 95319) void tst_QStackedWidget::testMinimumSize() { - QWidget w; + QWidget w; QStackedWidget sw(&w); QPushButton button("Text", &sw); - sw.addWidget(&button); + sw.addWidget(&button); QHBoxLayout hboxLayout; hboxLayout.addWidget(&sw); w.setLayout(&hboxLayout); w.show(); - QVERIFY(w.minimumSize() != QSize(0, 0)); + QVERIFY(w.minimumSize() != QSize(0, 0)); } // Testing get/set functions @@ -111,7 +111,7 @@ void tst_QStackedWidget::getSetCheck() // has no problem handling out-of-bounds indices. // ("convenience function" => "just another way of achieving the // same goal") - obj1.setCurrentWidget((QWidget *)0); + obj1.setCurrentWidget((QWidget *)0); QCOMPARE(obj1.currentWidget(), var2); #endif delete var2; |