Skip to content

Commit 5770cef

Browse files
author
jef
committed
fix warnings
git-svn-id: http://svn.osgeo.org/qgis/trunk@15558 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 40f31f7 commit 5770cef

File tree

2 files changed

+1
-21
lines changed

2 files changed

+1
-21
lines changed

src/providers/gdal/qgsgdalprovider.cpp

-20
Original file line numberDiff line numberDiff line change
@@ -82,26 +82,6 @@ int CPL_STDCALL progressCallback( double dfComplete,
8282

8383
if ( floor( dfLastComplete*10 ) != floor( dfComplete*10 ) )
8484
{
85-
int nPercent = ( int ) floor( dfComplete * 100 );
86-
87-
if ( nPercent == 0 && pszMessage != NULL )
88-
{
89-
//fprintf( stdout, "%s:", pszMessage );
90-
}
91-
92-
if ( nPercent == 100 )
93-
{
94-
//fprintf( stdout, "%d - done.\n", ( int ) floor( dfComplete*100 ) );
95-
//mypLayer->showProgress( 100 );
96-
}
97-
else
98-
{
99-
int myProgress = ( int ) floor( dfComplete * 100 );
100-
//fprintf( stdout, "%d.", myProgress );
101-
//mypLayer->showProgress( myProgress );
102-
//fflush( stdout );
103-
}
104-
10585
mypProvider->emitProgress( prog->type, dfComplete * 100, QString( pszMessage ) );
10686
}
10787
dfLastComplete = dfComplete;

src/ui/qgsprojectpropertiesbase.ui

+1-1
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@
367367
<attribute name="title">
368368
<string>WMS Server</string>
369369
</attribute>
370-
<layout class="QGridLayout" name="gridLayout">
370+
<layout class="QGridLayout" name="gridLayout_3">
371371
<item row="0" column="0" colspan="2">
372372
<widget class="QGroupBox" name="grpWMSServiceCapabilities">
373373
<property name="title">

0 commit comments

Comments
 (0)