mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-18 00:03:05 -04:00
Remove some unnecessary initializers
From clang-tidy readability-redundant-member-init
This commit is contained in:
parent
b468ab3ee5
commit
ccf0dc8fa3
@ -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 );
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user