Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
3 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,6 @@ | |
class QgsEditorWidgetWrapper : QObject | ||
{ | ||
%TypeHeaderCode | ||
#include <qgseditorwidgetconfig.h> | ||
#include <qgseditorwidgetwrapper.h> | ||
%End | ||
|
||
|
@@ -42,7 +41,7 @@ class QgsEditorWidgetWrapper : QObject | |
* | ||
* @return the value assigned to this configuration option | ||
*/ | ||
QVariant config( const QString& key, const QVariant& defaultVal = QVariant() ); | ||
const QVariant config( const QString& key, const QVariant& defaultVal = QVariant() ); | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
elpaso
Author
Contributor
|
||
|
||
/** | ||
* Returns the whole config | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The method should be const, not the return value.