mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2026-06-08 08:54:41 -04:00
Getting compilation of map65 working with CMake and Qt 5.15
This commit is contained in:
+2
-2
@@ -285,7 +285,7 @@ void CPlotter::DrawOverlay() //DrawOverlay()
|
||||
|
||||
QRect rect0;
|
||||
QPainter painter0(&m_ScalePixmap);
|
||||
painter0.initFrom(this);
|
||||
painter0.begin (this);
|
||||
|
||||
//create Font to use for scales
|
||||
QFont Font("Arial");
|
||||
@@ -365,7 +365,7 @@ void CPlotter::DrawOverlay() //DrawOverlay()
|
||||
// Now make the zoomed scale, using m_ZoomScalePixmap and painter3
|
||||
QRect rect1;
|
||||
QPainter painter3(&m_ZoomScalePixmap);
|
||||
painter3.initFrom(this);
|
||||
painter3.begin (this);
|
||||
painter3.setFont(Font);
|
||||
painter3.setPen(Qt::black);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user