Fix build warnings

This commit is contained in:
Matthias Kuhn 2016-06-03 15:02:15 +02:00
parent 8068cac14a
commit ffb6b90f48
4 changed files with 7 additions and 7 deletions

View File

@ -1059,6 +1059,7 @@ 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 )
{
@ -1066,6 +1067,7 @@ QgisApp::QgisApp( QSplashScreen *splash, bool restorePlugins, bool skipVersionCh
double time = ( *it ).second;
QgsDebugMsg( QString( " - %1 - %2" ).arg( name ).arg( time ) );
}
#endif
} // QgisApp ctor

View File

@ -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" ) )

View File

@ -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();

View File

@ -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
*/