[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [vidalia/alpha] Fix return value for VMessageBox::question



commit 16d73ec1bf6e1449031fee3337dea866c910262c
Author: Tomás Touceda <chiiph@xxxxxxxxxxxxxx>
Date:   Sat Jun 9 12:59:49 2012 -0300

    Fix return value for VMessageBox::question
---
 src/vidalia/VMessageBox.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/vidalia/VMessageBox.cpp b/src/vidalia/VMessageBox.cpp
index 786f026..15fc553 100644
--- a/src/vidalia/VMessageBox.cpp
+++ b/src/vidalia/VMessageBox.cpp
@@ -159,7 +159,7 @@ VMessageBox::question(QWidget *parent, QString caption, QString text,
     return ret;
   settings->setValue(key, messageBox._chkRemember->checkState() == Qt::Checked);
 
-  return ret;
+  return VMessageBox::selected(ret, button0, button1, button2);
 }
 
 /** Displays an information message box with the given caption, message text, and



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits