[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[vidalia-svn] r1304: Whitespace fixes. (trunk/src/gui/config)
Author: edmanm
Date: 2006-10-06 20:16:45 -0400 (Fri, 06 Oct 2006)
New Revision: 1304
Modified:
trunk/src/gui/config/serverpage.cpp
Log:
Whitespace fixes.
Modified: trunk/src/gui/config/serverpage.cpp
===================================================================
--- trunk/src/gui/config/serverpage.cpp 2006-10-07 00:12:11 UTC (rev 1303)
+++ trunk/src/gui/config/serverpage.cpp 2006-10-07 00:16:45 UTC (rev 1304)
@@ -79,7 +79,7 @@
connect(ui.btnRateHelp, SIGNAL(clicked()), this, SLOT(bandwidthHelp()));
connect(ui.btnExitHelp, SIGNAL(clicked()), this, SLOT(exitPolicyHelp()));
connect(ui.cmboRate, SIGNAL(currentIndexChanged(int)),
- this, SLOT(rateChanged(int)));
+ this, SLOT(rateChanged(int)));
connect(ui.lineAvgRateLimit, SIGNAL(editingFinished()),
this, SLOT(customRateChanged()));
connect(ui.lineMaxRateLimit, SIGNAL(editingFinished()),
@@ -116,7 +116,7 @@
ServerPage::save(QString &errmsg)
{
/* Force the bandwidth rate limits to validate */
- customRateChanged();
+ customRateChanged();
if (ui.chkEnableServer->isChecked()) {
/* A server must have an ORPort and a nickname */
@@ -186,7 +186,7 @@
// addPolicyItem(policy);
// }
- ui.frmCustomRate->setVisible(ui.cmboRate->currentIndex() == CUSTOM_RATE);
+ ui.frmCustomRate->setVisible(ui.cmboRate->currentIndex() == CUSTOM_RATE);
ui.frmServer->setVisible(ui.chkEnableServer->isChecked());
}
@@ -353,13 +353,13 @@
void
ServerPage::rateChanged(int index)
{
- if (index == 6) {
- ui.frmCustomRate->setVisible(true);
- }
+ if (index == 6) {
+ ui.frmCustomRate->setVisible(true);
+ }
- else {
- ui.frmCustomRate->setVisible(false);
- }
+ else {
+ ui.frmCustomRate->setVisible(false);
+ }
}
/** Called when the user edits the long-term average or maximum bandwidth limit.