mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-12-16 09:03:51 -05:00
added comment about plugin confirmation GUI code
This commit is contained in:
parent
943e597291
commit
350a3da359
1 changed files with 3 additions and 0 deletions
|
|
@ -174,6 +174,9 @@ bool RsGUIEventManager::GUI_askForPassword(const std::string& title, const std::
|
|||
bool RsGUIEventManager::GUI_askForPluginConfirmation(const std::string& plugin_file_name, const RsFileHash& 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.
|
||||
// Note: the code below is not running in the Qt thread, which is likely to cause a crash. If needed, we should use
|
||||
// the same mechanism than GUI_askForPassword. As far as testing goes, it seems that because there is no other window running
|
||||
// at the time plugin confirmation is required, this is not a problem for Qt.
|
||||
|
||||
if(first_time)
|
||||
return false ;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue