mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-23 06:31:20 -04:00
made RS not to ask for plugin confirmation on first load
This commit is contained in:
parent
345f24eb5f
commit
e8415c4f03
9 changed files with 19 additions and 12 deletions
|
@ -301,8 +301,13 @@ bool NotifyQt::askForPassword(const std::string& title, const std::string& key_d
|
|||
|
||||
return false;
|
||||
}
|
||||
bool NotifyQt::askForPluginConfirmation(const std::string& plugin_file_name, const std::string& plugin_file_hash)
|
||||
bool NotifyQt::askForPluginConfirmation(const std::string& plugin_file_name, const std::string& plugin_file_hash, bool first_time)
|
||||
{
|
||||
// By default, when no information is known about plugins, just dont load them. They will be enabled from the GUI by the user.
|
||||
|
||||
if(first_time)
|
||||
return false ;
|
||||
|
||||
RsAutoUpdatePage::lockAllEvents() ;
|
||||
|
||||
QMessageBox dialog;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue