mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-17 00:04:02 -04:00
[authentification manager] fix auth exec error (#6020)
This commit is contained in:
parent
744f5acdac
commit
df3f663c14
@ -703,6 +703,13 @@ QgisApp::QgisApp( QSplashScreen *splash, bool restorePlugins, bool skipVersionCh
|
||||
mSplash->showMessage( tr( "Setting up the GUI" ), Qt::AlignHCenter | Qt::AlignBottom );
|
||||
qApp->processEvents();
|
||||
|
||||
QgsApplication::initQgis();
|
||||
if ( !QgsApplication::authManager()->isDisabled() )
|
||||
{
|
||||
// Most of the auth initialization is now done inside initQgis, no need to profile here
|
||||
masterPasswordSetup();
|
||||
}
|
||||
|
||||
QgsSettings settings;
|
||||
|
||||
startProfile( QStringLiteral( "Building style sheet" ) );
|
||||
@ -1032,13 +1039,6 @@ QgisApp::QgisApp( QSplashScreen *splash, bool restorePlugins, bool skipVersionCh
|
||||
// load providers
|
||||
mSplash->showMessage( tr( "Checking provider plugins" ), Qt::AlignHCenter | Qt::AlignBottom );
|
||||
qApp->processEvents();
|
||||
QgsApplication::initQgis();
|
||||
|
||||
if ( !QgsApplication::authManager()->isDisabled() )
|
||||
{
|
||||
// Most of the auth initialization is now done inside initQgis, no need to profile here
|
||||
masterPasswordSetup();
|
||||
}
|
||||
|
||||
// Setup QgsNetworkAccessManager (this needs to happen after authentication, for proxy settings)
|
||||
namSetup();
|
||||
|
Loading…
x
Reference in New Issue
Block a user