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

[vidalia-svn] r3222: Force Qt to retranslate the button box at the bottom of the (vidalia/trunk/src/vidalia/config)



Author: edmanm
Date: 2008-10-12 20:58:41 -0400 (Sun, 12 Oct 2008)
New Revision: 3222

Modified:
   vidalia/trunk/src/vidalia/config/configdialog.cpp
Log:
Force Qt to retranslate the button box at the bottom of the config dialog.


Modified: vidalia/trunk/src/vidalia/config/configdialog.cpp
===================================================================
--- vidalia/trunk/src/vidalia/config/configdialog.cpp	2008-10-13 00:13:17 UTC (rev 3221)
+++ vidalia/trunk/src/vidalia/config/configdialog.cpp	2008-10-13 00:58:41 UTC (rev 3222)
@@ -165,6 +165,7 @@
   foreach (QAction *action, ui.toolBar->actions()) {
     action->setText(tr(qPrintable(action->data().toString()), "ConfigDialog"));
   }
+  ui.buttonBox->setStandardButtons(ui.buttonBox->standardButtons());
 }
 
 /** Loads the saved ConfigDialog settings. */