Fix build with Qt 5.15+

Building with Qt 5.15 failed with the following error:

../widgets/pixmapdial.cpp:231:26: error: aggregate ‘QPainterPath ballPath’ has incomplete type and cannot be defined
  231 |             QPainterPath ballPath;
      |                          ^~~~~~~~
../widgets/pixmapdial.cpp:278:26: error: aggregate ‘QPainterPath ballPath’ has incomplete type and cannot be defined
  278 |             QPainterPath ballPath;
      |                          ^~~~~~~~

Signed-off-by: Alex Tsitsimpis <alex.tsitsimpis@gmail.com>
This commit is contained in:
Alex Tsitsimpis 2020-06-04 12:49:40 +03:00 committed by Filipe Coelho
parent 3e6c9594d8
commit c167f35fbb
1 changed files with 1 additions and 0 deletions

View File

@ -22,6 +22,7 @@
#include <QtCore/QTimer>
#include <QtGui/QPainter>
#include <QtGui/QPaintEvent>
#include <QtGui/QPainterPath>
PixmapDial::PixmapDial(QWidget* parent)
: QDial(parent),