Commit 1b54d60
committed
COMP: Update ctkPythonConsoleTest1 to use operator| for Qt 6 compatibility
This fixes the following warning:
```
/path/to/CTK/Libs/Scripting/Python/Widgets/Testing/Cpp/ctkPythonConsoleTest1.cpp: In function ‘int ctkPythonConsoleTest1(int, char**)’:
/path/to/CTK/Libs/Scripting/Python/Widgets/Testing/Cpp/ctkPythonConsoleTest1.cpp:47:49: warning: ‘constexpr QKeyCombination Qt::operator+(Qt::Modifier, Qt::Key)’ is deprecated: Use operator| instead [-Wdeprecated-declarations]
47 | otherShortcuts << QKeySequence(Qt::CTRL + Qt::Key_Space);
| ^~~~~~~~~
```1 parent 9053e9e commit 1b54d60
File tree
1 file changed
+4
-0
lines changed- Libs/Scripting/Python/Widgets/Testing/Cpp
1 file changed
+4
-0
lines changedLines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
47 | 50 | | |
| 51 | + | |
48 | 52 | | |
49 | 53 | | |
50 | 54 | | |
| |||
0 commit comments