File tree 3 files changed +3
-4
lines changed
python/gui/editorwidgets/core
src/gui/editorwidgets/core
3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 16
16
class QgsEditorWidgetWrapper : QObject
17
17
{
18
18
%TypeHeaderCode
19
- #include <qgseditorwidgetconfig.h>
20
19
#include <qgseditorwidgetwrapper.h>
21
20
%End
22
21
@@ -42,7 +41,7 @@ class QgsEditorWidgetWrapper : QObject
42
41
*
43
42
* @return the value assigned to this configuration option
44
43
*/
45
- QVariant config( const QString& key, const QVariant& defaultVal = QVariant() );
44
+ const QVariant config( const QString& key, const QVariant& defaultVal = QVariant() );
46
45
47
46
/**
48
47
* Returns the whole config
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ void QgsWidgetWrapper::setContext( const QgsAttributeEditorContext &context )
52
52
mContext = context;
53
53
}
54
54
55
- QVariant QgsWidgetWrapper::config ( const QString& key, const QVariant& defaultVal )
55
+ const QVariant QgsWidgetWrapper::config ( const QString& key, const QVariant& defaultVal )
56
56
{
57
57
if ( mConfig .contains ( key ) )
58
58
{
Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ class GUI_EXPORT QgsWidgetWrapper : public QObject
87
87
*
88
88
* @return the value assigned to this configuration option
89
89
*/
90
- QVariant config ( const QString& key, const QVariant& defaultVal = QVariant() );
90
+ const QVariant config ( const QString& key, const QVariant& defaultVal = QVariant() );
91
91
92
92
/* *
93
93
* Returns the whole config
You can’t perform that action at this time.
0 commit comments