mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-27 00:33:48 -05:00
Fix build warnings
This commit is contained in:
parent
8068cac14a
commit
ffb6b90f48
@ -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
|
||||
|
||||
|
@ -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" ) )
|
||||
|
@ -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();
|
||||
|
||||
|
@ -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
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user