Skip to content

Commit

Permalink
Fix build warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Jun 3, 2016
1 parent 8068cac commit ffb6b90
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 2 additions & 0 deletions src/app/qgisapp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1059,13 +1059,15 @@ QgisApp::QgisApp( QSplashScreen *splash, bool restorePlugins, bool skipVersionCh

QgsDebugMsg( "PROFILE TIMES" );
QgsDebugMsg( QString( "PROFILE TIMES TOTAL - %1 " ).arg( profiler->totalTime() ) );
#ifdef QGISDEBUG
QList<QPair<QString, double> >::const_iterator it = profiler->profileTimes().constBegin();
for ( ; it != profiler->profileTimes().constEnd(); ++it )
{
QString name = ( *it ).first;
double time = ( *it ).second;
QgsDebugMsg( QString( " - %1 - %2" ).arg( name ).arg( time ) );
}
#endif

} // QgisApp ctor

Expand Down
1 change: 0 additions & 1 deletion src/app/qgsfieldsproperties.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1146,7 +1146,6 @@ QTreeWidgetItem* DesignerTree::addItem( QTreeWidgetItem* parent, QgsFieldsProper

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

if ( data->hasFormat( "application/x-qgsattributetabledesignerelement" ) )
Expand Down
10 changes: 4 additions & 6 deletions src/core/qgsruntimeprofiler.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,14 @@ class CORE_EXPORT QgsRuntimeProfiler
{
public:
/**
* @brief Instance of the run time profiler. To use the main profiler
* use this instance.
* @return The instance of the run time profiler
* Constructor to create a new runtime profiler.
*/
QgsRuntimeProfiler();

/**
* @brief Begin the group for the profiler. Groups will append {GroupName}/ to the
* front of the profile tag set using start.
* @param name The name of the group.
* @brief Instance of the run time profiler. To use the main profiler
* use this instance.
* @return The instance of the run time profiler
*/
static QgsRuntimeProfiler * instance();

Expand Down
1 change: 1 addition & 0 deletions src/gui/raster/qgsrendererrasterpropertieswidget.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ class GUI_EXPORT QgsRendererRasterPropertiesWidget : public QgsMapStylePanel, pr
public:
/**
* A widget to hold the renderer properties for a raster layer.
* @param layer The raster layer to style
* @param canvas The canvas object used to calculate the max and min values from the extent.
* @param parent Parent object
*/
Expand Down

0 comments on commit ffb6b90

Please sign in to comment.