Skip to content

Commit 8ca26df

Browse files
committedApr 1, 2013
fix build error and a warning
1 parent 7c80063 commit 8ca26df

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed
 

‎src/core/qgsexpression.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -950,6 +950,9 @@ static QVariant fcnRound( const QVariantList& values , QgsFeature *f, QgsExpress
950950

951951
static QVariant fcnPi( const QVariantList& values , QgsFeature *f, QgsExpression* parent )
952952
{
953+
Q_UNUSED( values );
954+
Q_UNUSED( f );
955+
Q_UNUSED( parent );
953956
return M_PI;
954957
}
955958

‎src/ui/symbollayer/widget_ellipse.ui

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
</widget>
6666
</item>
6767
<item row="0" column="1">
68-
<widget class="QgsColorButtonV2" name="btnChangeColorBorder">
68+
<widget class="QgsColorButton" name="btnChangeColorBorder">
6969
<property name="text">
7070
<string>Change</string>
7171
</property>
@@ -86,7 +86,7 @@
8686
</widget>
8787
</item>
8888
<item row="1" column="1">
89-
<widget class="QgsColorButtonV2" name="btnChangeColorFill">
89+
<widget class="QgsColorButton" name="btnChangeColorFill">
9090
<property name="text">
9191
<string>Change</string>
9292
</property>

‎src/ui/symbollayer/widget_linepatternfill.ui

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@
125125
</widget>
126126
</item>
127127
<item row="7" column="1">
128-
<widget class="QgsColorButtonV2" name="mColorPushButton">
128+
<widget class="QgsColorButton" name="mColorPushButton">
129129
<property name="text">
130130
<string>Change</string>
131131
</property>

‎src/ui/symbollayer/widget_simplefill.ui

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,14 +143,14 @@
143143
</widget>
144144
</item>
145145
<item row="2" column="1">
146-
<widget class="QgsColorButtonV2" name="btnChangeBorderColor">
146+
<widget class="QgsColorButton" name="btnChangeBorderColor">
147147
<property name="text">
148148
<string>Change</string>
149149
</property>
150150
</widget>
151151
</item>
152152
<item row="0" column="1">
153-
<widget class="QgsColorButtonV2" name="btnChangeColor">
153+
<widget class="QgsColorButton" name="btnChangeColor">
154154
<property name="text">
155155
<string>Change</string>
156156
</property>

0 commit comments

Comments
 (0)
Please sign in to comment.