| 347 | } |
| 348 | |
| 349 | static Qt::CursorShape normalizedSpectrumCursorShape(Qt::CursorShape shape) |
| 350 | { |
| 351 | #ifdef Q_OS_MAC |
| 352 | switch (shape) { |
| 353 | case Qt::SplitVCursor: |
| 354 | return Qt::SizeVerCursor; |
| 355 | case Qt::SizeAllCursor: |
| 356 | return Qt::OpenHandCursor; |
| 357 | default: |
| 358 | break; |
| 359 | } |
| 360 | #endif |
| 361 | return shape; |
| 362 | } |
| 363 | |
| 364 | static void setCursorOverride(QWidget* widget, Qt::CursorShape shape) |
| 365 | { |
no outgoing calls
no test coverage detected