Skip to content

Commit

Permalink
Use qRound. Rename menu item
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanW2 committed Jun 5, 2013
1 parent fa9d79f commit 0f8de7d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/app/pluginmanager/qgspluginmanager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,7 @@ void QgsPluginManager::showPluginDetails( QStandardItem * item )
if ( ! metadata->value( "average_vote" ).isEmpty() )
{
// draw stars
int stars = round( metadata->value( "average_vote" ).toFloat() );
int stars = qRound( metadata->value( "average_vote" ).toFloat() );
for ( int i = 0; i < stars; i++ )
{
html += "<img src=\":/images/themes/default/mIconNew.png\">";
Expand Down
4 changes: 2 additions & 2 deletions src/ui/qgisapp.ui
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<x>0</x>
<y>0</y>
<width>1050</width>
<height>18</height>
<height>21</height>
</rect>
</property>
<widget class="QMenu" name="mEditMenu">
Expand Down Expand Up @@ -1381,7 +1381,7 @@
<normaloff>:/images/themes/default/mActionShowPluginManager.png</normaloff>:/images/themes/default/mActionShowPluginManager.png</iconset>
</property>
<property name="text">
<string>Manage Plugins...</string>
<string>Manage and Install Plugins...</string>
</property>
</action>
<action name="mActionToggleFullScreen">
Expand Down

0 comments on commit 0f8de7d

Please sign in to comment.