diff options
author | Jan Arve Saether <jan-arve.saether@digia.com> | 2013-02-19 13:58:51 (GMT) |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-02-20 10:01:43 (GMT) |
commit | 8e61e0063c3e90c5957d0a5c8e99cf163cb096c1 (patch) | |
tree | b8edb795ed9269351d61fad6e8b2586319a113e3 /tests/auto/qstackedwidget | |
parent | a4c225257cd502ccf549140d2e74b15e7d03ac05 (diff) | |
download | Qt-8e61e0063c3e90c5957d0a5c8e99cf163cb096c1.zip Qt-8e61e0063c3e90c5957d0a5c8e99cf163cb096c1.tar.gz Qt-8e61e0063c3e90c5957d0a5c8e99cf163cb096c1.tar.bz2 |
Clean whitespace
Change-Id: Iec1950a0f4053cd71633162f0cb50efc9d4d493f
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
(cherry picked from qtbase/64106705e7ca6132b1de15529c6206ebb0c58dfa)
Diffstat (limited to 'tests/auto/qstackedwidget')
-rw-r--r-- | tests/auto/qstackedwidget/tst_qstackedwidget.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/auto/qstackedwidget/tst_qstackedwidget.cpp b/tests/auto/qstackedwidget/tst_qstackedwidget.cpp index 73fcdd8..ba8171c 100644 --- a/tests/auto/qstackedwidget/tst_qstackedwidget.cpp +++ b/tests/auto/qstackedwidget/tst_qstackedwidget.cpp @@ -61,7 +61,7 @@ public: private slots: void getSetCheck(); - void testMinimumSize(); + void testMinimumSize(); }; tst_QStackedWidget::tst_QStackedWidget() @@ -75,15 +75,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 @@ -114,7 +114,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; |