Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
with
2 additions
and
4 deletions.
-
+1
−2
src/app/main.cpp
-
+1
−2
src/app/qgisapp.cpp
|
@@ -859,12 +859,11 @@ int main( int argc, char *argv[] ) |
|
|
// Settings migration is only supported on the default profile for now. |
|
|
if ( profileName == "default" ) |
|
|
{ |
|
|
QgsVersionMigration *migration = QgsVersionMigration::canMigrate( 20000, Qgis::QGIS_VERSION_INT ); |
|
|
std::unique_ptr< QgsVersionMigration > migration( QgsVersionMigration::canMigrate( 20000, Qgis::QGIS_VERSION_INT ) ); |
|
|
if ( migration && ( mySettingsMigrationForce || migration->requiresMigration() ) ) |
|
|
{ |
|
|
QgsDebugMsg( "RUNNING MIGRATION" ); |
|
|
migration->runMigration(); |
|
|
delete migration; |
|
|
} |
|
|
} |
|
|
|
|
|
|
@@ -1358,10 +1358,9 @@ QgisApp::~QgisApp() |
|
|
QgsApplication::setFileOpenEventReceiver( nullptr ); |
|
|
|
|
|
delete mPythonUtils; |
|
|
|
|
|
delete mTray; |
|
|
|
|
|
delete mDataSourceManagerDialog; |
|
|
qDeleteAll( mCustomDropHandlers ); |
|
|
|
|
|
// This function *MUST* be the last one called, as it destroys in |
|
|
// particular GDAL. As above objects can hold GDAL/OGR objects, it is not |
|
|
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.