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

chiiph at torproject.org chiiph at torproject.org
Tue Jun 12 13:21:18 UTC 2012


commit 16d73ec1bf6e1449031fee3337dea866c910262c
Author: Tomás Touceda <chiiph at torproject.org>
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





More information about the tor-commits mailing list