Skip to content

Commit fd1ced7

Browse files
committedNov 7, 2014
[composer] Don't save hide bounding box setting between sessions
In practice the workflow is better if this setting is only temporarily applied to a composer.
1 parent 8b29097 commit fd1ced7

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed
 

‎src/core/composer/qgscomposition.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,6 @@ void QgsComposition::loadDefaults()
216216
mSnapGridOffsetX = settings.value( "/Composer/defaultSnapGridOffsetX", 0 ).toDouble();
217217
mSnapGridOffsetY = settings.value( "/Composer/defaultSnapGridOffsetY", 0 ).toDouble();
218218
mSnapTolerance = settings.value( "/Composer/defaultSnapTolerancePixels", 5 ).toInt();
219-
mBoundingBoxesVisible = settings.value( "/Composer/showBoundingBoxes", true ).toBool();
220219
}
221220

222221
void QgsComposition::updateBounds()
@@ -2148,10 +2147,6 @@ void QgsComposition::setBoundingBoxesVisible( const bool boundsVisible )
21482147
{
21492148
mBoundingBoxesVisible = boundsVisible;
21502149

2151-
//save to settings
2152-
QSettings settings;
2153-
settings.setValue( "/Composer/showBoundingBoxes", mBoundingBoxesVisible );
2154-
21552150
if ( mSelectionHandles )
21562151
{
21572152
mSelectionHandles->update();

0 commit comments

Comments
 (0)
Please sign in to comment.