Skip to content

Commit

Permalink
Swap a QDoubleSpinBox for QgsDoubleSpinBox
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jul 30, 2019
1 parent c291fb3 commit 105bde2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/app/qgsmaptoolcircularstringradius.cpp
Expand Up @@ -24,8 +24,7 @@
#include "qgsstatusbar.h"
#include "qgsmapmouseevent.h"
#include "qgssnapindicator.h"

#include <QDoubleSpinBox>
#include "qgsdoublespinbox.h"
#include <cmath>

QgsMapToolCircularStringRadius::QgsMapToolCircularStringRadius( QgsMapToolCapture *parentTool, QgsMapCanvas *canvas, CaptureMode mode )
Expand Down Expand Up @@ -154,7 +153,7 @@ void QgsMapToolCircularStringRadius::recalculateTempRubberBand( const QgsPointXY
void QgsMapToolCircularStringRadius::createRadiusSpinBox()
{
deleteRadiusSpinBox();
mRadiusSpinBox = new QDoubleSpinBox();
mRadiusSpinBox = new QgsDoubleSpinBox();
mRadiusSpinBox->setMaximum( 99999999 );
mRadiusSpinBox->setDecimals( 2 );
mRadiusSpinBox->setPrefix( tr( "Radius: " ) );
Expand Down

0 comments on commit 105bde2

Please sign in to comment.