summaryrefslogtreecommitdiff
path: root/client/Dialog.cpp
diff options
context:
space:
mode:
authorAlex <b0ris@b0ris-satellite.localdomain>2011-11-06 20:15:08 +0200
committerAlex <b0ris@b0ris-satellite.localdomain>2011-11-06 20:15:08 +0200
commitec933b1cb13a3cb2eb94975d933c5a56eae8b416 (patch)
tree6bbeccc8db87e7559e595f173743311d40e3d048 /client/Dialog.cpp
parent6cbc4914f13720381d6fc32492bb37e595769041 (diff)
Fix panel labels. Config format changes
Diffstat (limited to 'client/Dialog.cpp')
-rw-r--r--client/Dialog.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/client/Dialog.cpp b/client/Dialog.cpp
index 9703821..abd3178 100644
--- a/client/Dialog.cpp
+++ b/client/Dialog.cpp
@@ -7,7 +7,7 @@
#include "Dialog.h"
#include "Proxy.h"
- using namespace std;
+using namespace std;
ProxyDialog::ProxyDialog(QWidget *parent): QDialog(parent)
{
@@ -16,12 +16,12 @@ ProxyDialog::ProxyDialog(QWidget *parent): QDialog(parent)
cfg->AcquireConfig();
if (! cfg->IsConfigValid())
{
- Logger::Fatal((std::string)"No valid configuration found! Can't proceed.");
+ Logger::Fatal((string)"No valid configuration found! Can't proceed.");
return ;
}
/* generic proxy panel */
- topLabel = new QLabel("Top Panel");
+ topLabel = new QLabel(QString::fromLocal8Bit(cfg->TopPanelText.c_str()));
topLabel->setAlignment(Qt::AlignHCenter);
countryBox = new QComboBox;
stateBox = new QComboBox;
@@ -51,7 +51,7 @@ ProxyDialog::ProxyDialog(QWidget *parent): QDialog(parent)
genericProxyGroup = new QButtonGroup;
/* static proxy panel */
- bottomLabel = new QLabel("Bottom Panel");
+ bottomLabel = new QLabel(QString::fromLocal8Bit(cfg->BottomPanelText.c_str()));
bottomLabel->setAlignment(Qt::AlignHCenter);
QGridLayout *bottomPanelLayout = new QGridLayout;
unsigned nlines = cfg->GetStaticProxyGuiLines();