mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Actually use yes/no question
This commit is contained in:
parent
ad1852622f
commit
718aad2c5a
|
@ -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"), false, true))
|
||||
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, false))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user