qt5base-lts/tests/auto/widgets
Marc Mutz bebbaa43fd Fix warnings in tst_q{table,list}widget
GCC warned:

  tst_qtablewidget.cpp:30:
  tst_qtablewidget.cpp: In member function ‘void tst_QTableWidget::mimeData()’:
  qtestcase.h:66:52: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
       if (!QTest::qVerify(static_cast<bool>(statement), #statement, "", __FILE__, __LINE__))\
                                                      ^
  tst_qtablewidget.cpp:1523:5: note: in expansion of macro ‘QVERIFY’
       QVERIFY(data = table.mimeData(tableWidgetItemList));
       ^~~~~~~

Fix by adding the extra parentheses, as usual.

Change-Id: I2826d7a865b4113b468d5a958ede06e03aa0e278
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
2016-11-16 20:21:50 +00:00
..
dialogs Stabilize tst_QFileDialog2::task143519_deleteAndRenameActionBehavior() 2016-11-15 09:56:31 +00:00
effects Purge sRGB chunks from PNGs in tests. 2016-03-29 08:39:43 +00:00
gestures Autotest: Remove blacklistings 2016-04-01 05:41:21 +00:00
graphicsview tst_QGraphicsItem: plug remaining leaks 2016-10-22 10:20:14 +00:00
itemviews Fix warnings in tst_q{table,list}widget 2016-11-16 20:21:50 +00:00
kernel Plug remaining leaks in tests/auto/widgets/kernel 2016-10-21 21:48:26 +00:00
styles Plug remaining leaks in tests/auto/widgets/style 2016-09-30 10:45:34 +00:00
util Plug remaining leaks in tests/auto/widgets/util 2016-10-02 11:28:23 +00:00
widgets QLabel: take DPR of QMovie in account when calculating sizeHint 2016-11-09 09:09:26 +00:00
widgets.pro Add autotest for QGestureRecognizer. 2014-10-23 21:11:28 +02:00