Commit 4428d237 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Unused variable

(cherry picked from commit 8d40ad0a)
parent 52f5858d
......@@ -180,9 +180,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 ();
......
Markdown is supported
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