From c1f50db1ac24c87420cb1c379887e964c1a91207 Mon Sep 17 00:00:00 2001 From: "Juergen E. Fischer" Date: Thu, 29 May 2014 01:42:53 +0200 Subject: [PATCH] fix warnings --- CMakeLists.txt | 4 ++++ python/core/qgsexpression.sip | 7 ++++++- python/core/qgspallabeling.sip | 1 + src/app/composer/qgscomposermapwidget.cpp | 2 +- src/app/legend/qgsapplegendinterface.h | 2 ++ src/app/qgisappinterface.h | 2 ++ src/app/qgsmaptooldeletepart.cpp | 2 +- src/app/qgsmaptooldeletepart.h | 4 ++-- src/app/qgsmaptooldeletering.cpp | 4 ++-- src/app/qgsmaptooldeletering.h | 4 ++-- src/app/qgsmaptoollabel.cpp | 6 +++--- src/app/qgsmaptoollabel.h | 6 +++--- src/app/qgsmaptoolshowhidelabels.cpp | 2 +- src/app/qgsmaptoolshowhidelabels.h | 2 +- src/core/qgscoordinatereferencesystem.cpp | 2 +- src/core/qgsexpression.h | 3 ++- src/core/qgsmaprenderer.h | 4 ++-- src/core/qgspallabeling.h | 10 +++------- src/plugins/topology/topolTest.cpp | 22 ++++++++++------------ src/plugins/topology/topolTest.h | 2 +- src/ui/qgsoptionsbase.ui | 2 +- 21 files changed, 51 insertions(+), 42 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index adf046a548a..418ca173bfa 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -310,11 +310,15 @@ IF (PEDANTIC) # disable warnings ADD_DEFINITIONS( /wd4100 ) # unused formal parameters ADD_DEFINITIONS( /wd4127 ) # constant conditional expressions (used in Qt template classes) + ADD_DEFINITIONS( /wd4231 ) # nonstandard extension used : 'identifier' before template explicit instantiation (used in Qt template classes) + ADD_DEFINITIONS( /wd4251 ) # needs to have dll-interface to be used by clients of class (occurs in Qt template classes) + ADD_DEFINITIONS( /wd4275 ) # non dll-interface class '...' used as base for dll-interface class '...' ADD_DEFINITIONS( /wd4505 ) # unreferenced local function has been removed (QgsRasterDataProvider::extent) ADD_DEFINITIONS( /wd4510 ) # default constructor could not be generated (sqlite3_index_info, QMap) ADD_DEFINITIONS( /wd4512 ) # assignment operator could not be generated (sqlite3_index_info) ADD_DEFINITIONS( /wd4610 ) # user defined constructor required (sqlite3_index_info) ADD_DEFINITIONS( /wd4706 ) # assignment within conditional expression (pal) + ADD_DEFINITIONS( /wd4800 ) # 'int' : forcing value to bool 'true' or 'false' (performance warning) ELSE (MSVC) # add warnings via flags (not as definitions as on Mac -Wall can not be overridden per language ) SET(_warnings "-Wall -Wextra -Wno-long-long -Wformat-security -Wno-strict-aliasing") diff --git a/python/core/qgsexpression.sip b/python/core/qgsexpression.sip index e8bb27a8bfd..4c5ac84774f 100644 --- a/python/core/qgsexpression.sip +++ b/python/core/qgsexpression.sip @@ -39,6 +39,11 @@ class QgsExpression //! @note this method does not expect that prepare() has been called on this instance QVariant evaluate( const QgsFeature* f, const QgsFields& fields ); + //! Evaluate the feature and return the result + //! @note this method does not expect that prepare() has been called on this instance + //! @note not available in python bindings + // inline QVariant evaluate( const QgsFeature& f, const QgsFields& fields ) { return evaluate( &f, fields ); } + //! Returns true if an error occurred when evaluating last input bool hasEvalError() const; //! Returns evaluation error @@ -63,7 +68,7 @@ class QgsExpression void setScale( double scale ); - int scale(); + double scale(); //! Return the expression string that was given when created. const QString expression() const; diff --git a/python/core/qgspallabeling.sip b/python/core/qgspallabeling.sip index 6230873f9e6..2fcc1ec919b 100644 --- a/python/core/qgspallabeling.sip +++ b/python/core/qgspallabeling.sip @@ -693,6 +693,7 @@ class QgsPalLabeling : QgsLabelingEngineInterface virtual void drawLabeling( QgsRenderContext& context ); //! called when we're done with rendering virtual void exit(); + //! return infos about labels at a given (map) position //! @deprecated since 2.4 - use takeResults() and methods of QgsLabelingResults virtual QList labelsAtPosition( const QgsPoint& p ) /Deprecated/; diff --git a/src/app/composer/qgscomposermapwidget.cpp b/src/app/composer/qgscomposermapwidget.cpp index 1457e8082bc..be77de51059 100644 --- a/src/app/composer/qgscomposermapwidget.cpp +++ b/src/app/composer/qgscomposermapwidget.cpp @@ -250,7 +250,7 @@ void QgsComposerMapWidget::on_mAtlasPredefinedScaleRadio_toggled( bool checked ) { // restore to fixed scale if no predefined scales exist mAtlasFixedScaleRadio->blockSignals( true ); - mAtlasFixedScaleRadio->setChecked( Qt::Checked ); + mAtlasFixedScaleRadio->setChecked( true ); mAtlasFixedScaleRadio->blockSignals( false ); mComposerMap->setAtlasScalingMode( QgsComposerMap::Fixed ); } diff --git a/src/app/legend/qgsapplegendinterface.h b/src/app/legend/qgsapplegendinterface.h index 1691769681e..54b8183f233 100644 --- a/src/app/legend/qgsapplegendinterface.h +++ b/src/app/legend/qgsapplegendinterface.h @@ -30,6 +30,7 @@ class QgsMapLayer; * QgsLegendInterface * Abstract base class to make QgsLegend available to plugins. */ +Q_NOWARN_DEPRECATED_PUSH class QgsAppLegendInterface : public QgsLegendInterface { Q_OBJECT @@ -117,5 +118,6 @@ class QgsAppLegendInterface : public QgsLegendInterface int groupNodeToIndex( QgsLayerTreeGroup* group ); void setExpanded( QgsLayerTreeNode *node, bool expand ); }; +Q_NOWARN_DEPRECATED_POP #endif //QGSLEGENDAPPIFACE_H diff --git a/src/app/qgisappinterface.h b/src/app/qgisappinterface.h index 042f0a30377..76ee66501c7 100644 --- a/src/app/qgisappinterface.h +++ b/src/app/qgisappinterface.h @@ -32,6 +32,7 @@ class QgisApp; * Only those functions "exposed" by QgisInterface can be called from within a * plugin. */ +Q_NOWARN_DEPRECATED_PUSH class APP_EXPORT QgisAppInterface : public QgisInterface { Q_OBJECT @@ -508,5 +509,6 @@ class APP_EXPORT QgisAppInterface : public QgisInterface //! Pointer to the PluginManagerInterface object QgsAppPluginManagerInterface pluginManagerIface; }; +Q_NOWARN_DEPRECATED_POP #endif //#define QGISAPPINTERFACE_H diff --git a/src/app/qgsmaptooldeletepart.cpp b/src/app/qgsmaptooldeletepart.cpp index a9d407e0a40..f2cb61b9982 100644 --- a/src/app/qgsmaptooldeletepart.cpp +++ b/src/app/qgsmaptooldeletepart.cpp @@ -111,7 +111,7 @@ void QgsMapToolDeletePart::canvasReleaseEvent( QMouseEvent *e ) return; } -QgsGeometry* QgsMapToolDeletePart::partUnderPoint( QPoint point, int& fid, int& partNum ) +QgsGeometry* QgsMapToolDeletePart::partUnderPoint( QPoint point, QgsFeatureId& fid, int& partNum ) { QgsFeature f; QgsGeometry* geomPart = new QgsGeometry(); diff --git a/src/app/qgsmaptooldeletepart.h b/src/app/qgsmaptooldeletepart.h index 6ba6895fca8..2f91b1d9cf0 100644 --- a/src/app/qgsmaptooldeletepart.h +++ b/src/app/qgsmaptooldeletepart.h @@ -43,14 +43,14 @@ class APP_EXPORT QgsMapToolDeletePart: public QgsMapToolEdit QgsVectorLayer* vlayer; QList mRecentSnappingResults; - QgsGeometry* partUnderPoint( QPoint p, int &fid, int &partNum ); + QgsGeometry* partUnderPoint( QPoint p, QgsFeatureId &fid, int &partNum ); /* Rubberband that shows the part being deleted*/ QgsRubberBand* mRubberBand; //The feature and part where the mouse cursor was pressed //This is used to check whether we are still in the same part at cursor release - int mPressedFid; + QgsFeatureId mPressedFid; int mPressedPartNum; }; diff --git a/src/app/qgsmaptooldeletering.cpp b/src/app/qgsmaptooldeletering.cpp index b7553d3150d..687b51f1b2b 100644 --- a/src/app/qgsmaptooldeletering.cpp +++ b/src/app/qgsmaptooldeletering.cpp @@ -111,7 +111,7 @@ void QgsMapToolDeleteRing::canvasReleaseEvent( QMouseEvent *e ) } } -QgsGeometry* QgsMapToolDeleteRing::ringUnderPoint( QgsPoint p, int& fid, int& partNum, int& ringNum ) +QgsGeometry* QgsMapToolDeleteRing::ringUnderPoint( QgsPoint p, QgsFeatureId& fid, int& partNum, int& ringNum ) { //There is no clean way to find if we are inside the ring of a feature, //so we iterate over all the features visible in the canvas @@ -120,7 +120,7 @@ QgsGeometry* QgsMapToolDeleteRing::ringUnderPoint( QgsPoint p, int& fid, int& pa QgsFeatureIterator fit = vlayer->getFeatures( QgsFeatureRequest().setFilterRect( mCanvas->extent() ) ); QgsFeature f; QgsGeometry* g; - QgsGeometry* ringGeom; + QgsGeometry* ringGeom = 0; QgsMultiPolygon pol; QgsPolygon tempPol; QgsGeometry* tempGeom; diff --git a/src/app/qgsmaptooldeletering.h b/src/app/qgsmaptooldeletering.h index 80fe452be81..9db5c59e914 100644 --- a/src/app/qgsmaptooldeletering.h +++ b/src/app/qgsmaptooldeletering.h @@ -54,13 +54,13 @@ class APP_EXPORT QgsMapToolDeleteRing : public QgsMapToolVertexEdit /*! return the geometry of the ring under the point p and sets fid to the feature id, * partNum to the part number in the feature and ringNum to the ring number in the part */ - QgsGeometry* ringUnderPoint( QgsPoint p, int& fid, int& partNum, int& ringNum ); + QgsGeometry* ringUnderPoint( QgsPoint p, QgsFeatureId& fid, int& partNum, int& ringNum ); /* Rubberband that shows the ring being deleted*/ QgsRubberBand* mRubberBand; //The feature, part and ring the mouse was pressed in, to check we are still in the same ring at release - int mPressedFid; + QgsFeatureId mPressedFid; int mPressedPartNum; int mPressedRingNum; }; diff --git a/src/app/qgsmaptoollabel.cpp b/src/app/qgsmaptoollabel.cpp index 00117b286f3..b737c2c3a43 100644 --- a/src/app/qgsmaptoollabel.cpp +++ b/src/app/qgsmaptoollabel.cpp @@ -451,7 +451,7 @@ int QgsMapToolLabel::dataDefinedColumnIndex( QgsPalLayerSettings::DataDefinedPro return -1; } -bool QgsMapToolLabel::dataDefinedPosition( QgsVectorLayer* vlayer, int featureId, double& x, bool& xSuccess, double& y, bool& ySuccess, int& xCol, int& yCol ) const +bool QgsMapToolLabel::dataDefinedPosition( QgsVectorLayer* vlayer, const QgsFeatureId &featureId, double& x, bool& xSuccess, double& y, bool& ySuccess, int& xCol, int& yCol ) const { xSuccess = false; ySuccess = false; @@ -504,7 +504,7 @@ bool QgsMapToolLabel::layerIsRotatable( QgsMapLayer* layer, int& rotationCol ) c return false; } -bool QgsMapToolLabel::dataDefinedRotation( QgsVectorLayer* vlayer, int featureId, double& rotation, bool& rotationSuccess, bool ignoreXY ) const +bool QgsMapToolLabel::dataDefinedRotation( QgsVectorLayer* vlayer, const QgsFeatureId &featureId, double& rotation, bool& rotationSuccess, bool ignoreXY ) const { rotationSuccess = false; if ( !vlayer ) @@ -540,7 +540,7 @@ bool QgsMapToolLabel::dataDefinedRotation( QgsVectorLayer* vlayer, int featureId return true; } -bool QgsMapToolLabel::dataDefinedShowHide( QgsVectorLayer* vlayer, int featureId, int& show, bool& showSuccess, int& showCol ) const +bool QgsMapToolLabel::dataDefinedShowHide( QgsVectorLayer* vlayer, const QgsFeatureId &featureId, int& show, bool& showSuccess, int& showCol ) const { showSuccess = false; if ( !vlayer ) diff --git a/src/app/qgsmaptoollabel.h b/src/app/qgsmaptoollabel.h index ff8dc3eecd1..81afa855ce3 100644 --- a/src/app/qgsmaptoollabel.h +++ b/src/app/qgsmaptoollabel.h @@ -126,7 +126,7 @@ class APP_EXPORT QgsMapToolLabel: public QgsMapTool @param xCol out: index of the x position column @param yCol out: index of the y position column @return false if layer does not have data defined label position enabled*/ - bool dataDefinedPosition( QgsVectorLayer* vlayer, int featureId, double& x, bool& xSuccess, double& y, bool& ySuccess, int& xCol, int& yCol ) const; + bool dataDefinedPosition( QgsVectorLayer* vlayer, const QgsFeatureId &featureId, double& x, bool& xSuccess, double& y, bool& ySuccess, int& xCol, int& yCol ) const; /**Returns data defined rotation of a feature. @param vlayer vector layer @@ -136,7 +136,7 @@ class APP_EXPORT QgsMapToolLabel: public QgsMapTool @param ignoreXY ignore that x and y are required to be data-defined @return true if data defined rotation is enabled on the layer */ - bool dataDefinedRotation( QgsVectorLayer* vlayer, int featureId, double& rotation, bool& rotationSuccess, bool ignoreXY = false ) const; + bool dataDefinedRotation( QgsVectorLayer* vlayer, const QgsFeatureId &featureId, double& rotation, bool& rotationSuccess, bool ignoreXY = false ) const; /**Returns data defined show/hide of a feature. @param vlayer vector layer @@ -146,7 +146,7 @@ class APP_EXPORT QgsMapToolLabel: public QgsMapTool @param showCol out: index of the show label column @return true if data defined show/hide is enabled on the layer */ - bool dataDefinedShowHide( QgsVectorLayer* vlayer, int featureId, int& show, bool& showSuccess, int& showCol ) const; + bool dataDefinedShowHide( QgsVectorLayer* vlayer, const QgsFeatureId &featureId, int& show, bool& showSuccess, int& showCol ) const; private: QgsPalLayerSettings mInvalidLabelSettings; diff --git a/src/app/qgsmaptoolshowhidelabels.cpp b/src/app/qgsmaptoolshowhidelabels.cpp index 89b099432ed..5aed9e68e7b 100644 --- a/src/app/qgsmaptoolshowhidelabels.cpp +++ b/src/app/qgsmaptoolshowhidelabels.cpp @@ -260,7 +260,7 @@ bool QgsMapToolShowHideLabels::selectedLabelFeatures( QgsVectorLayer* vlayer, } bool QgsMapToolShowHideLabels::showHideLabel( QgsVectorLayer* vlayer, - int fid, + const QgsFeatureId &fid, bool hide ) { diff --git a/src/app/qgsmaptoolshowhidelabels.h b/src/app/qgsmaptoolshowhidelabels.h index 24ca4833653..583e723e848 100644 --- a/src/app/qgsmaptoolshowhidelabels.h +++ b/src/app/qgsmaptoolshowhidelabels.h @@ -66,7 +66,7 @@ class APP_EXPORT QgsMapToolShowHideLabels : public QgsMapToolLabel //! Show or hide chosen label by setting data defined Show Label to 0 bool showHideLabel( QgsVectorLayer* vlayer, - int fid, + const QgsFeatureId &fid, bool hide ); }; diff --git a/src/core/qgscoordinatereferencesystem.cpp b/src/core/qgscoordinatereferencesystem.cpp index 24cb4d25493..49e5ba4e61c 100644 --- a/src/core/qgscoordinatereferencesystem.cpp +++ b/src/core/qgscoordinatereferencesystem.cpp @@ -1516,7 +1516,7 @@ bool QgsCoordinateReferenceSystem::saveAsUserCRS( QString name ) QgsMessageLog::logMessage( QObject::tr( "Saved user CRS [%1]" ).arg( toProj4() ), QObject::tr( "CRS" ) ); - int return_id; + qint64 return_id; if ( myResult == SQLITE_OK ) { return_id = sqlite3_last_insert_rowid( myDatabase ); diff --git a/src/core/qgsexpression.h b/src/core/qgsexpression.h index 304d539c7ab..642da7e3d0a 100644 --- a/src/core/qgsexpression.h +++ b/src/core/qgsexpression.h @@ -127,6 +127,7 @@ class CORE_EXPORT QgsExpression //! Evaluate the feature and return the result //! @note this method does not expect that prepare() has been called on this instance + //! @note not available in python bindings inline QVariant evaluate( const QgsFeature& f, const QgsFields& fields ) { return evaluate( &f, fields ); } //! Returns true if an error occurred when evaluating last input @@ -153,7 +154,7 @@ class CORE_EXPORT QgsExpression void setScale( double scale ) { mScale = scale; } - int scale() {return mScale; } + double scale() { return mScale; } //! Return the expression string that was given when created. const QString expression() const { return dump(); } diff --git a/src/core/qgsmaprenderer.h b/src/core/qgsmaprenderer.h index c430bf3e9c7..1572bc57049 100644 --- a/src/core/qgsmaprenderer.h +++ b/src/core/qgsmaprenderer.h @@ -189,8 +189,8 @@ class CORE_EXPORT QgsMapRenderer : public QObject void setScale( double scale ) {mScale = scale;} double mapUnitsPerPixel() const { return mMapUnitsPerPixel; } - int width() const { return mSize.width(); } - int height() const { return mSize.height(); } + int width() const { return ( int ) mSize.width(); } + int height() const { return ( int ) mSize.height(); } //! Recalculate the map scale void updateScale(); diff --git a/src/core/qgspallabeling.h b/src/core/qgspallabeling.h index 9179125b053..6a5bcaeec8b 100644 --- a/src/core/qgspallabeling.h +++ b/src/core/qgspallabeling.h @@ -64,10 +64,8 @@ class QgsVectorLayer; class CORE_EXPORT QgsPalLayerSettings { public: - Q_NOWARN_DEPRECATED_PUSH QgsPalLayerSettings(); QgsPalLayerSettings( const QgsPalLayerSettings& s ); - Q_NOWARN_DEPRECATED_POP ~QgsPalLayerSettings(); //! @note added in 2.4 @@ -702,7 +700,7 @@ class CORE_EXPORT QgsLabelingResults friend class QgsPalLabeling; }; - +Q_NOWARN_DEPRECATED_PUSH class CORE_EXPORT QgsPalLabeling : public QgsLabelingEngineInterface { public: @@ -745,9 +743,7 @@ class CORE_EXPORT QgsPalLabeling : public QgsLabelingEngineInterface //! called when we're going to start with rendering //! @deprecated since 2.4 - use override with QgsMapSettings - Q_NOWARN_DEPRECATED_PUSH Q_DECL_DEPRECATED virtual void init( QgsMapRenderer* mr ); - Q_NOWARN_DEPRECATED_POP //! called when we're going to start with rendering virtual void init( const QgsMapSettings& mapSettings ); //! called to find out whether the layer is used for labeling @@ -776,14 +772,12 @@ class CORE_EXPORT QgsPalLabeling : public QgsLabelingEngineInterface //! called when we're done with rendering virtual void exit(); - Q_NOWARN_DEPRECATED_PUSH //! return infos about labels at a given (map) position //! @deprecated since 2.4 - use takeResults() and methods of QgsLabelingResults Q_DECL_DEPRECATED virtual QList labelsAtPosition( const QgsPoint& p ); //! return infos about labels within a given (map) rectangle //! @deprecated since 2.4 - use takeResults() and methods of QgsLabelingResults Q_DECL_DEPRECATED virtual QList labelsWithinRect( const QgsRectangle& r ); - Q_NOWARN_DEPRECATED_POP //! Return pointer to recently computed results (in drawLabeling()) and pass the ownership of results to the caller //! @note added in 2.4 @@ -864,5 +858,7 @@ class CORE_EXPORT QgsPalLabeling : public QgsLabelingEngineInterface QgsLabelingResults* mResults; }; +Q_NOWARN_DEPRECATED_POP + #endif // QGSPALLABELING_H diff --git a/src/plugins/topology/topolTest.cpp b/src/plugins/topology/topolTest.cpp index 26cccb968f3..04a1a076cdd 100644 --- a/src/plugins/topology/topolTest.cpp +++ b/src/plugins/topology/topolTest.cpp @@ -315,7 +315,7 @@ ErrorList topolTest::checkDanglingLines( double tolerance, QgsVectorLayer* layer QgsPoint p = pointIt->first; QgsFeatureId k = pointIt->second; - int repetitions = endVerticesMap.count( p ); + size_t repetitions = endVerticesMap.count( p ); //QgsGeometry* extentPoly = if ( repetitions == 1 ) @@ -359,21 +359,21 @@ ErrorList topolTest::checkDuplicates( double tolerance, QgsVectorLayer *layer1, int i = 0; ErrorList errorList; - QList* duplicateIds = new QList(); + QList* duplicateIds = new QList(); QgsSpatialIndex* index = mLayerIndexes[layer1->id()]; QgsGeometry* canvasExtentPoly = QgsGeometry::fromWkt( theQgsInterface->mapCanvas()->extent().asWktPolygon() ); - QMap::Iterator it; - QMap::ConstIterator FeatureListEnd = mFeatureMap2.end(); + QMap::Iterator it; + QMap::ConstIterator FeatureListEnd = mFeatureMap2.end(); for ( it = mFeatureMap2.begin(); it != FeatureListEnd; ++it ) { if ( !( ++i % 100 ) ) emit progress( i ); - int currentId = it->feature.id(); + QgsFeatureId currentId = it->feature.id(); if ( duplicateIds->contains( currentId ) ) { @@ -469,7 +469,7 @@ ErrorList topolTest::checkOverlaps( double tolerance, QgsVectorLayer *layer1, Qg return errorList; } - QList* duplicateIds = new QList(); + QList* duplicateIds = new QList(); QgsSpatialIndex* index; index = mLayerIndexes[layer1->id()]; @@ -480,14 +480,14 @@ ErrorList topolTest::checkOverlaps( double tolerance, QgsVectorLayer *layer1, Qg return errorList; } - QMap::Iterator it; - QMap::ConstIterator FeatureListEnd = mFeatureMap2.end(); + QMap::Iterator it; + QMap::ConstIterator FeatureListEnd = mFeatureMap2.end(); for ( it = mFeatureMap2.begin(); it != FeatureListEnd; ++it ) { if ( !( ++i % 100 ) ) emit progress( i ); - int currentId = it->feature.id(); + QgsFeatureId currentId = it->feature.id(); if ( duplicateIds->contains( currentId ) ) { @@ -552,8 +552,6 @@ ErrorList topolTest::checkOverlaps( double tolerance, QgsVectorLayer *layer1, Qg duplicateIds->append( mFeatureMap2[*cit].feature.id() ); } - - if ( duplicate ) { QList fls; @@ -812,7 +810,7 @@ ErrorList topolTest::checkPseudos( double tolerance, QgsVectorLayer *layer1, Qgs QgsPoint p = pointIt->first; QgsFeatureId k = pointIt->second; - int repetitions = endVerticesMap.count( p ); + size_t repetitions = endVerticesMap.count( p ); if ( repetitions == 2 ) { diff --git a/src/plugins/topology/topolTest.h b/src/plugins/topology/topolTest.h index c86bef6a4cb..2c5e3d01512 100644 --- a/src/plugins/topology/topolTest.h +++ b/src/plugins/topology/topolTest.h @@ -250,7 +250,7 @@ class topolTest: public QObject QMap mTopologyRuleMap; QList mFeatureList1; - QMap mFeatureMap2; + QMap mFeatureMap2; QgisInterface* theQgsInterface; bool mTestCancelled; diff --git a/src/ui/qgsoptionsbase.ui b/src/ui/qgsoptionsbase.ui index 4e4655a375e..55ed7c2c3ab 100644 --- a/src/ui/qgsoptionsbase.ui +++ b/src/ui/qgsoptionsbase.ui @@ -1695,7 +1695,7 @@ - + Qt::Horizontal