Skip to content

Commit ccf0dc8

Browse files
committedSep 11, 2017
Remove some unnecessary initializers
From clang-tidy readability-redundant-member-init
1 parent b468ab3 commit ccf0dc8

File tree

5 files changed

+0
-11
lines changed

5 files changed

+0
-11
lines changed
 

‎src/app/qgisapp.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -607,7 +607,6 @@ QgisApp::QgisApp( QSplashScreen *splash, bool restorePlugins, bool skipVersionCh
607607
: QMainWindow( parent, fl )
608608
, mSplash( splash )
609609
, mShowProjectionTab( false )
610-
, mProjectLastModified()
611610
{
612611
if ( sInstance )
613612
{
@@ -1219,7 +1218,6 @@ QgisApp::QgisApp()
12191218
, mPrevScreenModeMaximized( false )
12201219
, mSaveRollbackInProgress( false )
12211220
, mTrustedMacros( false )
1222-
, mProjectLastModified()
12231221
, mProjOpen( 0 )
12241222
{
12251223
sInstance = this;

‎src/app/qgsclipboard.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,6 @@
4141

4242
QgsClipboard::QgsClipboard()
4343
: QObject()
44-
, mFeatureClipboard()
45-
, mFeatureFields()
4644
, mUseSystemClipboard( false )
4745
{
4846
connect( QApplication::clipboard(), &QClipboard::dataChanged, this, &QgsClipboard::systemClipboardChanged );

‎src/app/qgsprojectproperties.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,7 @@ const char *QgsProjectProperties::GEO_NONE_DESC = QT_TRANSLATE_NOOP( "QgsOptions
7171
QgsProjectProperties::QgsProjectProperties( QgsMapCanvas *mapCanvas, QWidget *parent, Qt::WindowFlags fl )
7272
: QgsOptionsDialogBase( QStringLiteral( "ProjectProperties" ), parent, fl )
7373
, mMapCanvas( mapCanvas )
74-
, mEllipsoidList()
7574
, mEllipsoidIndex( 0 )
76-
7775
{
7876
setupUi( this );
7977
connect( buttonBox, &QDialogButtonBox::helpRequested, this, &QgsProjectProperties::showHelp );

‎src/core/qgsmapsettings.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,8 @@ Q_GUI_EXPORT extern int qt_defaultDpiX();
3434
QgsMapSettings::QgsMapSettings()
3535
: mDpi( qt_defaultDpiX() ) // DPI that will be used by default for QImage instances
3636
, mSize( QSize( 0, 0 ) )
37-
, mExtent()
3837
, mRotation( 0.0 )
3938
, mMagnificationFactor( 1.0 )
40-
, mDestCRS()
4139
, mDatumTransformStore( mDestCRS )
4240
, mBackgroundColor( Qt::white )
4341
, mSelectionColor( Qt::yellow )
@@ -46,7 +44,6 @@ QgsMapSettings::QgsMapSettings()
4644
, mSegmentationTolerance( M_PI_2 / 90 )
4745
, mSegmentationToleranceType( QgsAbstractGeometry::MaximumAngle )
4846
, mValid( false )
49-
, mVisibleExtent()
5047
, mMapUnitsPerPixel( 1 )
5148
, mScale( 1 )
5249
{

‎src/gui/attributetable/qgsdualview.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,6 @@
4141

4242
QgsDualView::QgsDualView( QWidget *parent )
4343
: QStackedWidget( parent )
44-
, mEditorContext()
45-
4644
{
4745
setupUi( this );
4846

0 commit comments

Comments
 (0)
Please sign in to comment.