[auth] Remove Authentication action from Settings menu

This commit is contained in:
Larry Shaffer 2015-09-24 12:54:39 -06:00
parent ee5e120627
commit b6459b06f1
3 changed files with 0 additions and 21 deletions

View File

@ -563,7 +563,6 @@ QgisApp::QgisApp( QSplashScreen *splash, bool restorePlugins, QWidget * parent,
QgsAuthManager::instance()->init( QgsApplication::pluginPath() );
if ( QgsAuthManager::instance()->isDisabled() )
{
mActionAuthentication->setEnabled( false );
QMessageBox::warning( this, tr( "Authentication System" ),
QgsAuthManager::instance()->disabledMessage() + "\n\n" +
tr( "Resources authenticating via the system can not be accessed." ) );
@ -1252,8 +1251,6 @@ void QgisApp::createActions()
connect( mActionExit, SIGNAL( triggered() ), this, SLOT( fileExit() ) );
connect( mActionDxfExport, SIGNAL( triggered() ), this, SLOT( dxfExport() ) );
connect( mActionAuthentication, SIGNAL( triggered() ), this, SLOT( editAuthenticationConfigs() ) );
// Edit Menu Items
connect( mActionUndo, SIGNAL( triggered() ), mUndoWidget, SLOT( undo() ) );
@ -10646,11 +10643,6 @@ void QgisApp::masterPasswordSetup()
this, SLOT( eraseAuthenticationDatabase() ) );
}
void QgisApp::editAuthenticationConfigs()
{
showOptionsDialog( this, QString( "mOptionsPageAuth" ) );
}
void QgisApp::eraseAuthenticationDatabase()
{
// First check if now is a good time to interact with the user, e.g. project is done loading.

View File

@ -620,9 +620,6 @@ class APP_EXPORT QgisApp : public QMainWindow, private Ui::MainWindow
#endif
void namRequestTimedOut( QNetworkReply *reply );
//! Open authentication configs editor (in Options)
void editAuthenticationConfigs();
//! Schedule and erase of the authentication database upon confirmation
void eraseAuthenticationDatabase();

View File

@ -218,7 +218,6 @@
<addaction name="mActionConfigureShortcuts"/>
<addaction name="mActionCustomization"/>
<addaction name="mActionOptions"/>
<addaction name="mActionAuthentication"/>
<addaction name="mActionSnappingOptions"/>
</widget>
<widget class="QMenu" name="mRasterMenu">
@ -2377,15 +2376,6 @@ Acts on currently active editable layer</string>
<string>Add circular string by radius</string>
</property>
</action>
<action name="mActionAuthentication">
<property name="icon">
<iconset resource="../../images/images.qrc">
<normaloff>:/images/themes/default/locked.svg</normaloff>:/images/themes/default/locked.svg</iconset>
</property>
<property name="text">
<string>Authentication...</string>
</property>
</action>
</widget>
<resources>
<include location="../../images/images.qrc"/>