Skip to content
Permalink
Browse files

Make QgisApp::showProgress private

Just gotta fix the canvas rendering use of this method and we can
finally remove the duplicate progress bar in the status bar...
  • Loading branch information
nyalldawson committed Aug 20, 2018
1 parent 48bf627 commit 860968b74a314d63704fa268221732627c7d266a
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/app/qgisapp.h
@@ -973,7 +973,6 @@ class APP_EXPORT QgisApp : public QMainWindow, private Ui::MainWindow

void renameView();

void showProgress( int progress, int totalSteps );
void showStatusMessage( const QString &message );

void loadingLayerMessages( const QString &layerName, const QList<QgsReadWriteContext::ReadWriteMessage> &messages );
@@ -1740,6 +1739,8 @@ class APP_EXPORT QgisApp : public QMainWindow, private Ui::MainWindow
void endProfile();
void functionProfile( void ( QgisApp::*fnc )(), QgisApp *instance, const QString &name );

void showProgress( int progress, int totalSteps );

/**
* This method will open a dialog so the user can select GDAL sublayers to load
* \returns true if any items were loaded

0 comments on commit 860968b

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