mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Oops, default for file transfer message should be no
This commit is contained in:
parent
7202b18079
commit
eb8527675c
|
@ -502,7 +502,7 @@ bool Widget::confirmExecutableOpen(const QFileInfo file)
|
|||
{
|
||||
if (file.isExecutable())
|
||||
{
|
||||
if(!GUI::askQuestion(tr("Executable file", "popup title"), tr("You have asked qTox to open an executable file. Executable files can potentially damage your computer. Are you sure want to open this file?", "popup text")))
|
||||
if(!GUI::askQuestion(tr("Executable file", "popup title"), tr("You have asked qTox to open an executable file. Executable files can potentially damage your computer. Are you sure want to open this file?", "popup text"), false, true))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user