Igor Kushnir
efe9a1b995
MagnifyingGlass: get rid of C-style casts to Viewer*
...
qobject_cast<const Viewer *> improves const correctness.
QLabel::pixmap() is const-qualified => make Viewer::pixmap() const too.
Return non-const QPixmap from Viewer::pixmap() to let compiler move the
return value at the function's call sites.
Introduce a named constant maxRelativeDimension. Change its type from
float to double, which usually multiplies faster on x86-64.
Remove redundant parentheses to improve readability.
2022-01-15 18:02:30 +02:00
..
2021-10-19 00:00:08 +02:00
2021-10-18 21:56:52 +02:00
2022-01-15 18:02:30 +02:00
2022-01-15 18:02:30 +02:00
2021-10-19 00:00:07 +02:00
2019-06-01 16:04:48 +02:00
2021-06-29 13:53:12 +02:00
2021-10-19 00:00:08 +02:00
2021-10-19 00:00:08 +02:00
2021-06-29 13:53:12 +02:00
2021-10-19 00:00:08 +02:00
2021-10-19 00:00:08 +02:00
2021-11-02 11:02:32 +01:00
2021-10-19 00:00:08 +02:00
2018-02-24 18:11:53 +00:00
2018-08-07 11:09:02 +02:00
2021-06-26 00:39:05 +01:00
2022-01-15 18:02:30 +02:00
2022-01-15 18:02:30 +02:00
2022-01-15 18:02:30 +02:00
2022-01-15 18:02:30 +02:00
2022-01-14 19:21:43 +01:00
2021-10-19 00:00:08 +02:00
2019-06-01 16:04:48 +02:00
2022-01-13 23:04:22 +01:00
2022-01-13 23:04:22 +01:00
2021-10-19 00:00:08 +02:00
2019-06-01 16:04:48 +02:00
2021-10-19 00:00:08 +02:00
2021-10-18 21:56:52 +02:00
2021-10-19 00:00:08 +02:00
2019-06-01 16:04:48 +02:00
2021-10-19 00:00:08 +02:00
2021-10-19 00:00:08 +02:00
2022-01-15 18:02:30 +02:00
2022-01-15 18:02:30 +02:00
2021-10-19 00:00:08 +02:00
2021-10-19 00:00:08 +02:00
2021-03-09 18:22:52 +01:00
2021-03-09 18:22:52 +01:00
2018-08-07 11:09:02 +02:00
2021-03-09 18:22:52 +01:00
2018-08-07 11:09:02 +02:00
2018-08-07 11:09:02 +02:00
2022-01-15 15:51:59 +01:00
2021-03-09 18:22:52 +01:00
2021-10-18 21:56:52 +02:00
2021-10-19 00:00:08 +02:00
2021-03-09 18:22:52 +01:00
2021-03-09 18:22:52 +01:00
2021-03-09 18:22:52 +01:00
2021-03-09 18:22:52 +01:00
2021-03-09 18:22:52 +01:00
2021-05-09 11:55:52 +02:00
2018-02-24 18:11:53 +00:00
2022-01-15 15:51:59 +01:00