fix warnings

git-svn-id: http://svn.osgeo.org/qgis/trunk@15558 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
jef 2011-03-22 08:45:52 +00:00
parent 40f31f7fd3
commit 5770cefcf6
2 changed files with 1 additions and 21 deletions

View File

@ -82,26 +82,6 @@ int CPL_STDCALL progressCallback( double dfComplete,
if ( floor( dfLastComplete*10 ) != floor( dfComplete*10 ) )
{
int nPercent = ( int ) floor( dfComplete * 100 );
if ( nPercent == 0 && pszMessage != NULL )
{
//fprintf( stdout, "%s:", pszMessage );
}
if ( nPercent == 100 )
{
//fprintf( stdout, "%d - done.\n", ( int ) floor( dfComplete*100 ) );
//mypLayer->showProgress( 100 );
}
else
{
int myProgress = ( int ) floor( dfComplete * 100 );
//fprintf( stdout, "%d.", myProgress );
//mypLayer->showProgress( myProgress );
//fflush( stdout );
}
mypProvider->emitProgress( prog->type, dfComplete * 100, QString( pszMessage ) );
}
dfLastComplete = dfComplete;

View File

@ -367,7 +367,7 @@
<attribute name="title">
<string>WMS Server</string>
</attribute>
<layout class="QGridLayout" name="gridLayout">
<layout class="QGridLayout" name="gridLayout_3">
<item row="0" column="0" colspan="2">
<widget class="QGroupBox" name="grpWMSServiceCapabilities">
<property name="title">