mirror of
https://github.com/qgis/QGIS.git
synced 2025-11-22 00:14:55 -05:00
Improvements to the security warning on plugin install dialog
This commit is contained in:
parent
94bea56956
commit
dff0af41b0
@ -1522,7 +1522,8 @@ void QgsPluginManager::buttonInstallFromZip_clicked()
|
|||||||
QMessageBox msgbox;
|
QMessageBox msgbox;
|
||||||
if ( showInstallFromZipWarning )
|
if ( showInstallFromZipWarning )
|
||||||
{
|
{
|
||||||
msgbox.setText( tr( "Security warning: installing a plugin from an untrusted source can lead to data loss and/or leak. Continue?" ) );
|
msgbox.setWindowTitle( tr( "Security warning" ) );
|
||||||
|
msgbox.setText( tr( "Installing a plugin from an untrusted source can harm your computer. Only continue if you received the plugin from a source you trust. Continue?" ) );
|
||||||
msgbox.setIcon( QMessageBox::Icon::Warning );
|
msgbox.setIcon( QMessageBox::Icon::Warning );
|
||||||
msgbox.addButton( QMessageBox::Yes );
|
msgbox.addButton( QMessageBox::Yes );
|
||||||
msgbox.addButton( QMessageBox::No );
|
msgbox.addButton( QMessageBox::No );
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user