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-18 21:56:52 +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
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-10-19 00:00:08 +02:00
2021-10-18 21:56:52 +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
2021-10-19 00:00:08 +02:00
2018-08-07 11:09:02 +02:00
2022-01-15 15:51:59 +01:00
2021-10-18 21:56:52 +02:00
2018-02-24 18:11:53 +00:00
2022-01-15 15:51:59 +01:00