Remove some unnecessary initializers

From clang-tidy readability-redundant-member-init
This commit is contained in:
Nyall Dawson 2017-09-11 16:42:18 +10:00
parent b468ab3ee5
commit ccf0dc8fa3
5 changed files with 0 additions and 11 deletions

View File

@ -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;

View File

@ -41,8 +41,6 @@
QgsClipboard::QgsClipboard()
: QObject()
, mFeatureClipboard()
, mFeatureFields()
, mUseSystemClipboard( false )
{
connect( QApplication::clipboard(), &QClipboard::dataChanged, this, &QgsClipboard::systemClipboardChanged );

View File

@ -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 );

View File

@ -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 )
{

View File

@ -41,8 +41,6 @@
QgsDualView::QgsDualView( QWidget *parent )
: QStackedWidget( parent )
, mEditorContext()
{
setupUi( this );