1
0
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:
TheLastProject 2015-02-19 20:32:37 +01:00
parent ad1852622f
commit 718aad2c5a

View File

@ -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;
}