Skip to content

Commit

Permalink
fix build error and a warning
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Apr 1, 2013
1 parent 7c80063 commit 8ca26df
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
3 changes: 3 additions & 0 deletions src/core/qgsexpression.cpp
Expand Up @@ -950,6 +950,9 @@ static QVariant fcnRound( const QVariantList& values , QgsFeature *f, QgsExpress

static QVariant fcnPi( const QVariantList& values , QgsFeature *f, QgsExpression* parent )
{
Q_UNUSED( values );
Q_UNUSED( f );
Q_UNUSED( parent );
return M_PI;
}

Expand Down
4 changes: 2 additions & 2 deletions src/ui/symbollayer/widget_ellipse.ui
Expand Up @@ -65,7 +65,7 @@
</widget>
</item>
<item row="0" column="1">
<widget class="QgsColorButtonV2" name="btnChangeColorBorder">
<widget class="QgsColorButton" name="btnChangeColorBorder">
<property name="text">
<string>Change</string>
</property>
Expand All @@ -86,7 +86,7 @@
</widget>
</item>
<item row="1" column="1">
<widget class="QgsColorButtonV2" name="btnChangeColorFill">
<widget class="QgsColorButton" name="btnChangeColorFill">
<property name="text">
<string>Change</string>
</property>
Expand Down
2 changes: 1 addition & 1 deletion src/ui/symbollayer/widget_linepatternfill.ui
Expand Up @@ -125,7 +125,7 @@
</widget>
</item>
<item row="7" column="1">
<widget class="QgsColorButtonV2" name="mColorPushButton">
<widget class="QgsColorButton" name="mColorPushButton">
<property name="text">
<string>Change</string>
</property>
Expand Down
4 changes: 2 additions & 2 deletions src/ui/symbollayer/widget_simplefill.ui
Expand Up @@ -143,14 +143,14 @@
</widget>
</item>
<item row="2" column="1">
<widget class="QgsColorButtonV2" name="btnChangeBorderColor">
<widget class="QgsColorButton" name="btnChangeBorderColor">
<property name="text">
<string>Change</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QgsColorButtonV2" name="btnChangeColor">
<widget class="QgsColorButton" name="btnChangeColor">
<property name="text">
<string>Change</string>
</property>
Expand Down

0 comments on commit 8ca26df

Please sign in to comment.