File tree Expand file tree Collapse file tree 3 files changed +1
-8
lines changed Expand file tree Collapse file tree 3 files changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -1137,11 +1137,6 @@ namespace QgsWms
1137
1137
return label;
1138
1138
}
1139
1139
1140
- bool QgsWmsParameters::atlasPrint () const
1141
- {
1142
- return mWmsParameters .contains ( QgsWmsParameter::ATLAS_PK );
1143
- }
1144
-
1145
1140
QStringList QgsWmsParameters::atlasPk () const
1146
1141
{
1147
1142
return mWmsParameters [ QgsWmsParameter::ATLAS_PK ].toStringList ();
Original file line number Diff line number Diff line change @@ -1149,8 +1149,6 @@ namespace QgsWms
1149
1149
*/
1150
1150
QString layoutParameter ( const QString &id, bool &ok ) const ;
1151
1151
1152
- // ! True if ATLAS_ID parameter is set
1153
- bool atlasPrint () const ;
1154
1152
// ! Return ATLAS_ID parameter
1155
1153
QStringList atlasPk () const ;
1156
1154
Original file line number Diff line number Diff line change @@ -379,7 +379,7 @@ namespace QgsWms
379
379
// atlas print?
380
380
QgsLayoutAtlas *atlas = 0 ;
381
381
QStringList atlasPk = mWmsParameters .atlasPk ();
382
- if ( mWmsParameters . atlasPrint () )
382
+ if ( atlasPk. size () > 0 ) // atlas print requested?
383
383
{
384
384
atlas = layout->atlas ();
385
385
if ( !atlas || !atlas->enabled () )
You can’t perform that action at this time.
0 commit comments