ispyisail
c265f0206c
Fix Qt5 build: QLabel::pixmap() returns a pointer, not a value
...
ClickableImageLabel::mousePressEvent() calls pixmap().isNull() and
pixmap().width(). That is the Qt6 signature; in Qt5 QLabel::pixmap()
returns const QPixmap * and the code does not compile:
error: request for member 'isNull' in '...QLabel::pixmap()',
which is of pointer type 'const QPixmap*'
CMakeLists.txt defaults QT_VERSION_MAJOR to 5 when it is not specified,
so a default configuration of master has not built since 6b577ee75 .
Read the pixmap once into a local, guarded the way the rest of the
codebase handles this split, which also drops four repeated pixmap()
calls in the same expression.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com >
2026-09-09 09:52:06 +12:00
..
2026-08-22 13:34:29 +02:00
2026-07-05 17:39:38 +02:00
2026-02-05 17:58:12 +09:00
2026-01-16 15:24:35 +01:00
2025-05-18 14:15:20 +02:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2018-05-11 18:14:41 +00:00
2026-07-07 21:42:45 +02:00
2026-07-07 21:42:45 +02:00
2026-08-13 16:20:30 +02:00
2026-01-16 15:24:35 +01:00
2020-08-17 16:42:07 +02:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2021-02-22 13:47:39 +01:00
2024-12-31 21:58:42 +01:00
2024-12-31 21:58:42 +01:00
2017-08-29 14:54:27 +00:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2015-08-26 21:46:47 +00:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2021-02-22 13:47:39 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2021-02-22 13:47:39 +01:00
2026-07-17 09:47:32 +02:00
2026-07-17 09:47:32 +02:00
2026-08-03 10:28:26 +12:00
2026-08-03 10:28:26 +12:00
2026-08-08 00:32:31 +02:00
2026-01-16 15:24:35 +01:00
2018-10-16 15:49:18 +00:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2022-01-03 21:01:25 +01:00
2026-08-08 00:32:31 +02:00
2026-01-16 15:24:35 +01:00
2026-08-08 00:32:31 +02:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2018-07-08 23:31:34 +00:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2017-12-30 14:41:25 +00:00
2026-08-10 20:30:05 +12:00
2026-08-10 20:30:05 +12:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2018-11-09 18:50:37 +00:00
2026-08-13 21:24:50 +12:00
2026-08-03 10:28:26 +12:00
2026-04-09 08:36:54 +02:00
2026-09-01 07:16:32 +12:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2017-01-15 12:23:05 +00:00
2026-09-05 15:48:28 +02:00
2026-09-05 15:48:28 +02:00
2026-09-05 15:48:28 +02:00
2026-09-05 15:48:28 +02:00
2026-09-05 15:48:28 +02:00
2026-09-09 09:52:06 +12:00
2026-09-07 10:44:29 +02:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2016-05-05 13:31:04 +00:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2018-09-30 17:19:50 +00:00
2026-08-04 10:32:25 +12:00
2026-01-16 15:24:35 +01:00
2021-02-22 13:47:39 +01:00
2026-08-01 01:05:43 +12:00
2026-08-01 01:05:43 +12:00
2026-08-09 12:30:15 +02:00
2026-07-17 09:47:32 +02:00
2026-04-01 16:51:41 +02:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2020-05-15 11:38:09 +02:00
2026-08-22 16:42:13 +02:00
2026-07-27 22:16:52 +02:00
2018-12-03 22:13:16 +00:00
2026-06-16 17:41:03 +02:00
2026-01-16 15:24:35 +01:00
2018-04-23 13:50:36 +00:00
2026-08-23 12:05:52 +02:00
2026-08-23 12:05:52 +02:00
2026-08-21 12:10:50 +02:00
2026-07-27 22:16:52 +02:00
2026-07-31 20:39:04 +12:00
2026-07-31 20:39:04 +12:00
2026-07-31 20:39:04 +12:00
2026-08-09 01:34:22 +02:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2018-12-04 19:07:14 +00:00
2026-09-05 15:48:28 +02:00
2026-01-16 15:24:35 +01:00
2026-09-05 15:48:28 +02:00
2026-08-14 09:43:39 +02:00
2026-08-14 09:43:39 +02:00
2026-08-13 13:51:13 +02:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2022-07-23 21:54:23 +02:00
2026-08-09 01:34:22 +02:00
2026-06-12 05:45:08 +12:00
2018-12-04 22:38:51 +00:00
2026-09-05 18:55:14 +02:00
2026-01-16 15:24:35 +01:00
2026-08-22 12:03:35 +02:00