Skip to content
Permalink
Browse files

Fix warning

  • Loading branch information
nyalldawson committed Mar 22, 2019
1 parent 427ea51 commit 6b470eebeac0e95e9adff23ff1056e8b0ad617ca
Showing with 3 additions and 3 deletions.
  1. +2 −2 src/app/3d/qgs3dmapcanvas.h
  2. +1 −1 src/core/symbology/qgslinesymbollayer.cpp
@@ -62,13 +62,13 @@ class Qgs3DMapCanvas : public QWidget

/**
* Sets the active map tool that will receive events from the 3D canvas. Does not transfer ownership.
* If the tool is null, events will be used for camera manipulation.
* If the tool is NULLPTR, events will be used for camera manipulation.
*/
void setMapTool( Qgs3DMapTool *tool );

/**
* Returns the active map tool that will receive events from the 3D canvas.
* If the tool is null, events will be used for camera manipulation.
* If the tool is NULLPTR, events will be used for camera manipulation.
*/
Qgs3DMapTool *mapTool() const { return mMapTool; }

@@ -694,7 +694,7 @@ class MyLine
else
{
mVertical = false;
mT = float( p2.y() - p1.y() ) / ( p2.x() - p1.x() );
mT = ( p2.y() - p1.y() ) / ( p2.x() - p1.x() );
mIncreasing = ( p2.x() > p1.x() );
}

0 comments on commit 6b470ee

Please sign in to comment.
You can’t perform that action at this time.