@@ -78,11 +78,11 @@ QgsRasterLayer::QgsRasterLayer(
78
78
// Constant that signals property not used.
79
79
QSTRING_NOT_SET( " Not Set" ),
80
80
TRSTRING_NOT_SET( tr( " Not Set" ) ),
81
+ mStandardDeviations( 0 ),
82
+ mDataProvider( 0 ),
81
83
mWidth( std::numeric_limits<int >::max() ),
82
84
mHeight( std::numeric_limits<int >::max() ),
83
- mInvertColor( false ),
84
- mStandardDeviations( 0 ),
85
- mDataProvider( 0 )
85
+ mInvertColor( false )
86
86
{
87
87
88
88
mUserDefinedRGBMinimumMaximum = false ; // defaults needed to bypass enhanceContrast
@@ -138,15 +138,14 @@ QgsRasterLayer::QgsRasterLayer( int dummy,
138
138
QString const & format,
139
139
QString const & crs )
140
140
: QgsMapLayer( RasterLayer, baseName, rasterLayerPath ),
141
- mWidth( std::numeric_limits<int >::max() ),
142
- mHeight( std::numeric_limits<int >::max() ),
143
- mInvertColor( false ),
144
141
mStandardDeviations( 0 ),
145
- mProviderKey( providerKey ),
146
142
mDataProvider( 0 ),
147
143
mEditable( false ),
148
- mModified( false )
149
-
144
+ mWidth( std::numeric_limits<int >::max() ),
145
+ mHeight( std::numeric_limits<int >::max() ),
146
+ mInvertColor( false ),
147
+ mModified( false ),
148
+ mProviderKey( providerKey )
150
149
{
151
150
QgsDebugMsg ( " (8 arguments) starting. with layer list of " +
152
151
layers.join ( " , " ) + " and style list of " + styles.join ( " , " ) + " and format of " +
0 commit comments