Skip to content

Commit ec25df1

Browse files
authoredOct 22, 2016
Merge pull request #3659 from nyalldawson/clazy3
Fix clazy level 0 checks
2 parents 6acf0f7 + 1dca938 commit ec25df1

File tree

83 files changed

+171
-178
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

83 files changed

+171
-178
lines changed
 

‎python/gui/editorwidgets/core/qgseditorwidgetfactory.sip

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ class QgsEditorWidgetFactory
108108
* @return A map of widget type names and weight values
109109
* @note not available in Python bindings
110110
*/
111-
//virtual QMap<const char*, int> supportedWidgetTypes() { return QMap<const char*, int>(); }
111+
//virtual QHash<const char*, int> supportedWidgetTypes();
112112

113113
/**
114114
* Create a pretty String representation of the value.

‎src/app/main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1126,7 +1126,7 @@ int main( int argc, char *argv[] )
11261126
break;
11271127
}
11281128

1129-
coords[i] = QString( myInitialExtent.mid( posOld, pos - posOld ) ).toDouble( &ok );
1129+
coords[i] = myInitialExtent.midRef( posOld, pos - posOld ).toDouble( &ok );
11301130
if ( !ok )
11311131
break;
11321132

@@ -1135,7 +1135,7 @@ int main( int argc, char *argv[] )
11351135

11361136
// parse last coordinate
11371137
if ( ok )
1138-
coords[3] = QString( myInitialExtent.mid( posOld ) ).toDouble( &ok );
1138+
coords[3] = myInitialExtent.midRef( posOld ).toDouble( &ok );
11391139

11401140
if ( !ok )
11411141
{

0 commit comments

Comments
 (0)
Please sign in to comment.