Skip to content

Commit ffb6b90

Browse files
committedJun 3, 2016
Fix build warnings
1 parent 8068cac commit ffb6b90

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed
 

‎src/app/qgisapp.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1059,13 +1059,15 @@ QgisApp::QgisApp( QSplashScreen *splash, bool restorePlugins, bool skipVersionCh
10591059

10601060
QgsDebugMsg( "PROFILE TIMES" );
10611061
QgsDebugMsg( QString( "PROFILE TIMES TOTAL - %1 " ).arg( profiler->totalTime() ) );
1062+
#ifdef QGISDEBUG
10621063
QList<QPair<QString, double> >::const_iterator it = profiler->profileTimes().constBegin();
10631064
for ( ; it != profiler->profileTimes().constEnd(); ++it )
10641065
{
10651066
QString name = ( *it ).first;
10661067
double time = ( *it ).second;
10671068
QgsDebugMsg( QString( " - %1 - %2" ).arg( name ).arg( time ) );
10681069
}
1070+
#endif
10691071

10701072
} // QgisApp ctor
10711073

‎src/app/qgsfieldsproperties.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1146,7 +1146,6 @@ QTreeWidgetItem* DesignerTree::addItem( QTreeWidgetItem* parent, QgsFieldsProper
11461146

11471147
void DesignerTree::dragMoveEvent( QDragMoveEvent *event )
11481148
{
1149-
QTreeWidgetItem* targetItem = itemAt( event->pos() );
11501149
const QMimeData* data = event->mimeData();
11511150

11521151
if ( data->hasFormat( "application/x-qgsattributetabledesignerelement" ) )

‎src/core/qgsruntimeprofiler.h

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,14 @@ class CORE_EXPORT QgsRuntimeProfiler
1010
{
1111
public:
1212
/**
13-
* @brief Instance of the run time profiler. To use the main profiler
14-
* use this instance.
15-
* @return The instance of the run time profiler
13+
* Constructor to create a new runtime profiler.
1614
*/
1715
QgsRuntimeProfiler();
1816

1917
/**
20-
* @brief Begin the group for the profiler. Groups will append {GroupName}/ to the
21-
* front of the profile tag set using start.
22-
* @param name The name of the group.
18+
* @brief Instance of the run time profiler. To use the main profiler
19+
* use this instance.
20+
* @return The instance of the run time profiler
2321
*/
2422
static QgsRuntimeProfiler * instance();
2523

‎src/gui/raster/qgsrendererrasterpropertieswidget.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ class GUI_EXPORT QgsRendererRasterPropertiesWidget : public QgsMapStylePanel, pr
3434
public:
3535
/**
3636
* A widget to hold the renderer properties for a raster layer.
37+
* @param layer The raster layer to style
3738
* @param canvas The canvas object used to calculate the max and min values from the extent.
3839
* @param parent Parent object
3940
*/

0 commit comments

Comments
 (0)
Please sign in to comment.