Commit 9053e9e
committed
COMP: Update ctkTest to use qWarning() instead of deprecated QTest::qWarn()
This fixes warnings like the following:
```
/path/to/CTK/Libs/Testing/ctkTest.h: In function ‘void ctkTest::mouseEvent(QTest::MouseAction, QWidget*, Qt::MouseButton, Qt::KeyboardModifiers, QPoint, int)’:
/path/to/CTK/Libs/Testing/ctkTest.h:98:12: warning: ‘void QTest::qWarn(const char*, const char*, int)’ is deprecated: Use qWarning() instead [-Wdeprecated-declarations]
98 | QTest::qWarn(qPrintable(warning.arg(mouseActionNames[static_cast<int>(action)])));
| ^~~~~
```1 parent 133605f commit 9053e9e
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
| 98 | + | |
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
| |||
0 commit comments