Skip to content
Permalink
Browse files

Remove some unnecessary initializers

From clang-tidy readability-redundant-member-init
  • Loading branch information
nyalldawson committed Sep 11, 2017
1 parent b468ab3 commit ccf0dc8fa3e506b9a6f40aea02d188345ac4fe4c
@@ -607,7 +607,6 @@ QgisApp::QgisApp( QSplashScreen *splash, bool restorePlugins, bool skipVersionCh
: QMainWindow( parent, fl )
, mSplash( splash )
, mShowProjectionTab( false )
, mProjectLastModified()
{
if ( sInstance )
{
@@ -1219,7 +1218,6 @@ QgisApp::QgisApp()
, mPrevScreenModeMaximized( false )
, mSaveRollbackInProgress( false )
, mTrustedMacros( false )
, mProjectLastModified()
, mProjOpen( 0 )
{
sInstance = this;
@@ -41,8 +41,6 @@

QgsClipboard::QgsClipboard()
: QObject()
, mFeatureClipboard()
, mFeatureFields()
, mUseSystemClipboard( false )
{
connect( QApplication::clipboard(), &QClipboard::dataChanged, this, &QgsClipboard::systemClipboardChanged );
@@ -71,9 +71,7 @@ const char *QgsProjectProperties::GEO_NONE_DESC = QT_TRANSLATE_NOOP( "QgsOptions
QgsProjectProperties::QgsProjectProperties( QgsMapCanvas *mapCanvas, QWidget *parent, Qt::WindowFlags fl )
: QgsOptionsDialogBase( QStringLiteral( "ProjectProperties" ), parent, fl )
, mMapCanvas( mapCanvas )
, mEllipsoidList()
, mEllipsoidIndex( 0 )

{
setupUi( this );
connect( buttonBox, &QDialogButtonBox::helpRequested, this, &QgsProjectProperties::showHelp );
@@ -34,10 +34,8 @@ Q_GUI_EXPORT extern int qt_defaultDpiX();
QgsMapSettings::QgsMapSettings()
: mDpi( qt_defaultDpiX() ) // DPI that will be used by default for QImage instances
, mSize( QSize( 0, 0 ) )
, mExtent()
, mRotation( 0.0 )
, mMagnificationFactor( 1.0 )
, mDestCRS()
, mDatumTransformStore( mDestCRS )
, mBackgroundColor( Qt::white )
, mSelectionColor( Qt::yellow )
@@ -46,7 +44,6 @@ QgsMapSettings::QgsMapSettings()
, mSegmentationTolerance( M_PI_2 / 90 )
, mSegmentationToleranceType( QgsAbstractGeometry::MaximumAngle )
, mValid( false )
, mVisibleExtent()
, mMapUnitsPerPixel( 1 )
, mScale( 1 )
{
@@ -41,8 +41,6 @@

QgsDualView::QgsDualView( QWidget *parent )
: QStackedWidget( parent )
, mEditorContext()

{
setupUi( this );

0 comments on commit ccf0dc8

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