Skip to content
Permalink
Browse files

In symbol selector, omit decimals when displaying the transparency %

git-svn-id: http://svn.osgeo.org/qgis/trunk@13324 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder
wonder committed Apr 18, 2010
1 parent 52b5ef5 commit 8b2b84fec4171a6479ddbfe411b0b5d46f4af3b7
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/symbology-ng/qgssymbolv2selectordialog.cpp
@@ -260,5 +260,5 @@ void QgsSymbolV2SelectorDialog::on_mTransparencySlider_valueChanged( int value )
void QgsSymbolV2SelectorDialog::displayTransparency( double alpha )
{
double transparencyPercent = ( 1 - alpha ) * 100;
mTransparencyLabel->setText( tr( "Transparency: %1%" ).arg( transparencyPercent ) );
mTransparencyLabel->setText( tr( "Transparency: %1%" ).arg(( int ) transparencyPercent ) );
}

0 comments on commit 8b2b84f

Please sign in to comment.
You can’t perform that action at this time.