Skip to content

Commit

Permalink
fix warnings
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@15558 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Mar 22, 2011
1 parent b2608d5 commit 6dd72db
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 21 deletions.
20 changes: 0 additions & 20 deletions src/providers/gdal/qgsgdalprovider.cpp
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/ui/qgsprojectpropertiesbase.ui
Expand Up @@ -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">
Expand Down

0 comments on commit 6dd72db

Please sign in to comment.