Skip to content
Permalink
Browse files
In symbol selector, omit decimals when displaying the transparency %
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@13324 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder committed Apr 18, 2010
1 parent 2287937 commit f55fbbf50695676b332a6fb4313389eb2f071ff1
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 f55fbbf

Please sign in to comment.