From 897b78bc5000b7ae7a4a56d4072ef02b6bcec222 Mon Sep 17 00:00:00 2001 From: Alex Borisov Date: Fri, 16 Dec 2011 02:48:44 +0200 Subject: XML reading/writing --- client/Dialog.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'client/Dialog.cpp') diff --git a/client/Dialog.cpp b/client/Dialog.cpp index dfb280d..4c92a79 100644 --- a/client/Dialog.cpp +++ b/client/Dialog.cpp @@ -13,12 +13,13 @@ using namespace std; ProxyDialog::ProxyDialog(QWidget *parent): QDialog(parent) { UpdatedConfig *cfg = UpdatedConfig::CurrentConfig(); + Proxifier *proxifier = Proxifier::GetInstance(); if (!proxifier->IsValid()) { Logger::Fatal("No valid proxifier configuration file found!\n"); } - + /* generic proxy panel */ topLabel = new QLabel(QString::fromLocal8Bit(cfg->TopPanelText.c_str())); topLabel->setObjectName("topLabel"); -- cgit v1.2.3