mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
fix warnings
git-svn-id: http://svn.osgeo.org/qgis/trunk@15558 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
40f31f7fd3
commit
5770cefcf6
@ -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;
|
||||
|
@ -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">
|
||||
|
Loading…
x
Reference in New Issue
Block a user