Commit 8d40ad0a authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

Unused variable

parent 743c9d5c
......@@ -157,9 +157,8 @@ void DialogHandler::requestAnswer (vlc_object_t *, void *value)
? box->addButton ("&" + qfu(data->yes), QMessageBox::YesRole) : NULL;
QAbstractButton *no = (data->no != NULL)
? box->addButton ("&" + qfu(data->no), QMessageBox::NoRole) : NULL;
QAbstractButton *cancel = (data->cancel != NULL)
? box->addButton ("&" + qfu(data->cancel), QMessageBox::RejectRole)
: NULL;
if (data->cancel != NULL)
box->addButton ("&" + qfu(data->cancel), QMessageBox::RejectRole);
box->exec ();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment