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

[vidalia-svn] r3119: Disable the WA_DeleteOnClose widget attribute, since we stil (vidalia/trunk/src/vidalia)



Author: edmanm
Date: 2008-09-20 21:52:57 -0400 (Sat, 20 Sep 2008)
New Revision: 3119

Modified:
   vidalia/trunk/src/vidalia/controlpasswordinputdialog.cpp
Log:
Disable the WA_DeleteOnClose widget attribute, since we still want access to
some of the dialog contents after it's closed.


Modified: vidalia/trunk/src/vidalia/controlpasswordinputdialog.cpp
===================================================================
--- vidalia/trunk/src/vidalia/controlpasswordinputdialog.cpp	2008-09-21 01:48:52 UTC (rev 3118)
+++ vidalia/trunk/src/vidalia/controlpasswordinputdialog.cpp	2008-09-21 01:52:57 UTC (rev 3119)
@@ -23,6 +23,7 @@
 {
   ui.setupUi(this);
   setSizeGripEnabled(false);
+  setAttribute(Qt::WA_DeleteOnClose, false);
 
   ui.buttonBox->setStandardButtons(QDialogButtonBox::Ok
                                      | QDialogButtonBox::Cancel