diff options
Diffstat (limited to 'client/Dialog.cpp')
-rw-r--r-- | client/Dialog.cpp | 8 |
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(); |