Qt 6 works on Windows host
This commit is contained in:
@@ -795,6 +795,9 @@ void BlockView::keyReleaseEvent(QKeyEvent * e) {
|
||||
void BlockView::resizeEvent(QResizeEvent * event) {
|
||||
QGraphicsView::resizeEvent(event);
|
||||
thick = lineThickness(this);
|
||||
#if QT_VERSION_MAJOR >= 6
|
||||
thick *= devicePixelRatioF();
|
||||
#endif
|
||||
adjustThumb();
|
||||
updateNavRect();
|
||||
nav_target = _nav();
|
||||
|
||||
Reference in New Issue
Block a user