Skip to content
Permalink
Browse files

Fix build warnings

  • Loading branch information
m-kuhn committed Jun 3, 2016
1 parent 8068cac commit ffb6b90f48b3e64ecb626bbbf5e55a832a573eb3
@@ -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

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

0 comments on commit ffb6b90

Please sign in to comment.
You can’t perform that action at this time.