Skip to content
Permalink
Browse files

some fixes (missing include, duplicated line, wrong variable name)

  • Loading branch information
3nids committed Dec 23, 2015
1 parent b33b935 commit c9e928932acaa36f111efdc37f6740d060d3a72c
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/app/nodetool/qgsmaptoolnodetool.cpp
  2. +1 −1 src/app/qgsoptions.cpp
@@ -30,6 +30,7 @@

#include <QMouseEvent>
#include <QRubberBand>
#include <QSettings>

QgsMapToolNodeTool::QgsMapToolNodeTool( QgsMapCanvas* canvas )
: QgsMapToolEdit( canvas )
@@ -129,7 +130,6 @@ void QgsMapToolNodeTool::canvasMoveEvent( QgsMapMouseEvent* e )
mSelectRubberBand = nullptr;
}
QgsGeometryRubberBand* rb = new QgsGeometryRubberBand( mCanvas, mSelectedFeature->geometry()->type() );
QSettings settings;
QColor color(
settings.value( "/qgis/digitizing/line_color_red", 255 ).toInt(),
settings.value( "/qgis/digitizing/line_color_green", 0 ).toInt(),
@@ -804,7 +804,7 @@ QgsOptions::QgsOptions( QWidget *parent, Qt::WindowFlags fl ) :
mFillColorToolButton->setContext( "gui" );
mFillColorToolButton->setDefaultColor( QColor( 255, 0, 0, 30 ) );

mLineGhostCheckBox->setChecked( settings.value( "/qgis/digitizing/line_ghost", false ).toBool() );
mLineGhostCheckBox->setChecked( mSettings->value( "/qgis/digitizing/line_ghost", false ).toBool() );

//default snap mode
mDefaultSnapModeComboBox->insertItem( 0, tr( "To vertex" ), "to vertex" );

0 comments on commit c9e9289

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