multi deploy
other qt6 patches
This commit is contained in:
@@ -132,7 +132,11 @@ bool ImageView::eventFilter(QObject * o, QEvent * e) {
|
||||
|
||||
|
||||
void ImageView::adjustView() {
|
||||
int nw = map.size().boundedTo(size()).width();
|
||||
QSize ws = size();
|
||||
#if QT_VERSION_MAJOR >= 5
|
||||
ws *= devicePixelRatio();
|
||||
#endif
|
||||
int nw = map.size().boundedTo(ws).width();
|
||||
item.setScale(1.);
|
||||
if (nw > 0) {
|
||||
qreal mp = map.width() / nw;
|
||||
|
||||
Reference in New Issue
Block a user