Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
|
@@ -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 |
|
|
*/ |
|
|
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.